3 include(../../qpluginbase.pri)
4 QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms
6 QT += core-private gui-private
14 qxcbwindowsurface.cpp \
16 qxcbnativeinterface.cpp
28 QT += gui-private core-private
30 contains(QT_CONFIG, opengl) {
33 # DEFINES += XCB_USE_DRI2
34 contains(DEFINES, XCB_USE_DRI2) {
35 LIBS += -lxcb-dri2 -lxcb-xfixes -lEGL
37 CONFIG += link_pkgconfig
40 HEADERS += qdri2context.h
41 SOURCES += qdri2context.cpp
44 DEFINES += XCB_USE_XLIB
45 LIBS += -lX11 -lX11-xcb
47 contains(QT_CONFIG, opengles2) {
48 DEFINES += XCB_USE_EGL
50 ../eglconvenience/qeglplatformcontext.h \
51 ../eglconvenience/qeglconvenience.h \
52 ../eglconvenience/qxlibeglintegration.h
55 ../eglconvenience/qeglplatformcontext.cpp \
56 ../eglconvenience/qeglconvenience.cpp \
57 ../eglconvenience/qxlibeglintegration.cpp
61 DEFINES += XCB_USE_GLX
62 include (../glxconvenience/glxconvenience.pri)
63 HEADERS += qglxintegration.h
64 SOURCES += qglxintegration.cpp
69 LIBS += -lxcb -lxcb-image -lxcb-keysyms -lxcb-icccm -lxcb-sync
71 include (../fontdatabases/genericunix/genericunix.pri)
73 target.path += $$[QT_INSTALL_PLUGINS]/platforms