summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/gl_integrations/xcb_glx/xcb_glx.pro
blob: 1c577e5dc961f768243feace444ba7f6515ded2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
TARGET = qxcb-glx-integration

PLUGIN_CLASS_NAME = QXcbGlxIntegrationPlugin
PLUGIN_TYPE = xcbglintegrations

load(qt_plugin)

include(../gl_integrations_plugin_base.pri)

#should be removed from the sources
DEFINES += XCB_USE_GLX XCB_USE_XLIB

LIBS += -lxcb

contains(QT_CONFIG, xcb-glx) {
    DEFINES += XCB_HAS_XCB_GLX
    LIBS += -lxcb-glx
}

LIBS += $$QMAKE_LIBS_DYNLOAD

HEADERS += \
    qxcbglxintegration.h \
    qxcbglxwindow.h \
    qglxintegration.h \
    qxcbglxnativeinterfacehandler.h

SOURCES += \
    qxcbglxmain.cpp \
    qxcbglxintegration.cpp \
    qxcbglxwindow.cpp \
    qglxintegration.cpp \
    qxcbglxnativeinterfacehandler.cpp