3 include(../../qpluginbase.pri)
4 QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms
6 QT += core-private gui-private
16 qxcbwindowsurface.cpp \
18 qxcbnativeinterface.cpp
32 QT += gui-private core-private
34 contains(QT_CONFIG, opengl) {
37 # DEFINES += XCB_USE_DRI2
38 contains(DEFINES, XCB_USE_DRI2) {
39 LIBS += -lxcb-dri2 -lxcb-xfixes -lEGL
41 CONFIG += link_pkgconfig
44 HEADERS += qdri2context.h
45 SOURCES += qdri2context.cpp
48 DEFINES += XCB_USE_XLIB
49 LIBS += -lX11 -lX11-xcb
51 contains(QT_CONFIG, opengles2) {
52 DEFINES += XCB_USE_EGL
54 ../eglconvenience/qeglplatformcontext.h \
55 ../eglconvenience/qeglconvenience.h \
56 ../eglconvenience/qxlibeglintegration.h
59 ../eglconvenience/qeglplatformcontext.cpp \
60 ../eglconvenience/qeglconvenience.cpp \
61 ../eglconvenience/qxlibeglintegration.cpp
65 DEFINES += XCB_USE_GLX
66 include (../glxconvenience/glxconvenience.pri)
67 HEADERS += qglxintegration.h
68 SOURCES += qglxintegration.cpp
73 LIBS += -lxcb -lxcb-image -lxcb-keysyms -lxcb-icccm -lxcb-sync
75 include (../fontdatabases/genericunix/genericunix.pri)
76 include (../printersupport/genericunix/genericunix.pri)
77 include (../dnd/dnd.pri)
79 target.path += $$[QT_INSTALL_PLUGINS]/platforms