aboutsummaryrefslogtreecommitdiff
path: root/depends/patches/qt/fix-xcb-include-order.patch
blob: bf6c6dca36cf863a6ef2c63dc91247c5c663715e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- old/qtbase/src/plugins/platforms/xcb/xcb-plugin.pro	2014-07-30 18:17:27.384458441 -0400
+++ new/qtbase/src/plugins/platforms/xcb/xcb-plugin.pro	2014-07-30 18:18:28.620459303 -0400
@@ -101,10 +101,6 @@
     }
 }
 
-DEFINES += $$QMAKE_DEFINES_XCB
-LIBS += $$QMAKE_LIBS_XCB
-QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_XCB
-
 CONFIG += qpa/genericunixfontdatabase
 
 contains(QT_CONFIG, dbus) {
@@ -141,3 +137,7 @@
         INCLUDEPATH += ../../../3rdparty/xkbcommon/xkbcommon/
     }
 }
+
+DEFINES += $$QMAKE_DEFINES_XCB
+LIBS += $$QMAKE_LIBS_XCB
+INCLUDEPATH += $$QMAKE_CFLAGS_XCB