summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/gl_integrations/xcb_glx/xcb_glx.pro
blob: 57cd81ec3bc480871e50b8f2e6a08714748d154e (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
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
}

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

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