4 QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms
6 QT += core-private gui-private
17 qxcbwindowsurface.cpp \
20 qxcbnativeinterface.cpp
36 QT += gui-private core-private
38 contains(QT_CONFIG, opengl) {
41 # DEFINES += XCB_USE_DRI2
42 contains(DEFINES, XCB_USE_DRI2) {
43 LIBS += -lxcb-dri2 -lxcb-xfixes -lEGL
45 CONFIG += link_pkgconfig
48 HEADERS += qdri2context.h
49 SOURCES += qdri2context.cpp
52 DEFINES += XCB_USE_XLIB
53 LIBS += -lX11 -lX11-xcb
55 contains(QT_CONFIG, opengles2) {
56 DEFINES += XCB_USE_EGL
57 load(qpa/egl/convenience)
59 load(qpa/egl/xlibintegration)
63 DEFINES += XCB_USE_GLX
64 load(qpa/glx/convenience)
65 HEADERS += qglxintegration.h
66 SOURCES += qglxintegration.cpp
71 LIBS += -lxcb -lxcb-image -lxcb-keysyms -lxcb-icccm -lxcb-sync
73 DEFINES += $$QMAKE_DEFINES_XCB QT_NO_XCB_XKB
74 LIBS += $$QMAKE_LIBS_XCB
75 QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_XCB
77 load(qpa/fontdatabases/genericunix)
78 load(qpa/printersupport/genericunix)
80 target.path += $$[QT_INSTALL_PLUGINS]/platforms