summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/gl_integrations/xcb_glx/xcb_glx.pro
blob: 5af617230127b0306198ab7883ed29c7348c0b30 (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
TARGET = qxcb-glx-integration

include(../gl_integrations_plugin_base.pri)
QT += glx_support-private

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

qtConfig(xcb-glx) {
    DEFINES += XCB_HAS_XCB_GLX
    QMAKE_USE += xcb_glx
}

!static:qtConfig(dlopen): QMAKE_USE += libdl

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

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

PLUGIN_CLASS_NAME = QXcbGlxIntegrationPlugin
PLUGIN_TYPE = xcbglintegrations
load(qt_plugin)