summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/xcb.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/xcb/xcb.pro')
-rw-r--r--src/plugins/platforms/xcb/xcb.pro10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/xcb.pro b/src/plugins/platforms/xcb/xcb.pro
index 3aee0a2..58382c0 100644
--- a/src/plugins/platforms/xcb/xcb.pro
+++ b/src/plugins/platforms/xcb/xcb.pro
@@ -21,6 +21,16 @@ HEADERS = \
qxcbwindow.h \
qxcbwindowsurface.h
+contains(QT_CONFIG, opengl):DEFINES += XCB_USE_XLIB_FOR_GLX
+
+contains(DEFINES, XCB_USE_XLIB_FOR_GLX) {
+ QT += opengl
+
+ HEADERS += qglxintegration.h
+ SOURCES += qglxintegration.cpp
+ LIBS += -lX11 -lX11-xcb
+}
+
LIBS += -lxcb -lxcb-image -lxcb-keysyms
include (../fontdatabases/genericunix/genericunix.pri)