2
1

qt5base-0001-xcb-Add-egl-cflags-when-opengles2-is-enabled.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. From cbffa1e467a4c8b9e8061364b69e250b23fb7b59 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= <fatih.asici@gmail.com>
  3. Date: Sun, 15 Sep 2013 11:15:33 +0300
  4. Subject: [PATCH] xcb: Add egl cflags when opengles2 is enabled
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. This patch is sent to upstream and applied:
  9. https://qt.gitorious.org/qt/qtbase/commit/ff7b57bbb936bc86a64aa2a947fa8984adf400c8
  10. Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
  11. ---
  12. src/plugins/platforms/xcb/xcb-plugin.pro | 2 +-
  13. 1 file changed, 1 insertion(+), 1 deletion(-)
  14. diff --git a/src/plugins/platforms/xcb/xcb-plugin.pro b/src/plugins/platforms/xcb/xcb-plugin.pro
  15. index 8299528..bc21afe 100644
  16. --- a/src/plugins/platforms/xcb/xcb-plugin.pro
  17. +++ b/src/plugins/platforms/xcb/xcb-plugin.pro
  18. @@ -73,7 +73,7 @@ contains(QT_CONFIG, xcb-render) {
  19. contains(QT_CONFIG, opengl) {
  20. contains(QT_CONFIG, opengles2) {
  21. DEFINES += XCB_USE_EGL
  22. - LIBS += -lEGL
  23. + CONFIG += egl
  24. HEADERS += qxcbeglsurface.h
  25. # EGL on MeeGo 1.2 Harmattan needs this macro to map EGLNativeDisplayType
  26. --
  27. 1.7.10.4