3 include(../../qpluginbase.pri)
4 QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms
6 QT += core-private gui-private
8 QT+=gui-private core-private
16 qxcbwindowsurface.cpp \
18 qxcbnativeinterface.cpp
30 QT += gui-private core-private
32 contains(QT_CONFIG, opengl) {
35 # DEFINES += XCB_USE_DRI2
36 contains(DEFINES, XCB_USE_DRI2) {
37 LIBS += -lxcb-dri2 -lxcb-xfixes -lEGL
39 CONFIG += link_pkgconfig
42 HEADERS += qdri2context.h
43 SOURCES += qdri2context.cpp
46 DEFINES += XCB_USE_XLIB
47 LIBS += -lX11 -lX11-xcb
49 contains(QT_CONFIG, opengles2) {
50 DEFINES += XCB_USE_EGL
52 ../eglconvenience/qeglplatformcontext.h \
53 ../eglconvenience/qeglconvenience.h \
54 ../eglconvenience/qxlibeglintegration.h
57 ../eglconvenience/qeglplatformcontext.cpp \
58 ../eglconvenience/qeglconvenience.cpp \
59 ../eglconvenience/qxlibeglintegration.cpp
63 DEFINES += XCB_USE_GLX
64 include (../glxconvenience/glxconvenience.pri)
65 HEADERS += qglxintegration.h
66 SOURCES += qglxintegration.cpp
71 LIBS += -lxcb -lxcb-image -lxcb-keysyms -lxcb-icccm -lxcb-sync
73 include (../fontdatabases/genericunix/genericunix.pri)
75 target.path += $$[QT_INSTALL_PLUGINS]/platforms