From cdc2161b6f87deaac6a256885fd6ecdccad6eb82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Mon, 1 Oct 2012 10:17:21 +0200 Subject: Made xcb plugin work when the GLX extension is not present. Change-Id: I9285d7524586ff404206c088019ece33335137d9 Reviewed-by: Lars Knoll --- src/plugins/platforms/xcb/xcb.pro | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/plugins/platforms/xcb/xcb.pro') diff --git a/src/plugins/platforms/xcb/xcb.pro b/src/plugins/platforms/xcb/xcb.pro index 116951d36d..617f2e685c 100644 --- a/src/plugins/platforms/xcb/xcb.pro +++ b/src/plugins/platforms/xcb/xcb.pro @@ -98,6 +98,10 @@ contains(DEFINES, XCB_USE_DRI2) { HEADERS += qglxintegration.h SOURCES += qglxintegration.cpp LIBS += $$QMAKE_LIBS_DYNLOAD + contains(QT_CONFIG, xcb-glx) { + DEFINES += XCB_HAS_XCB_GLX + LIBS += -lxcb-glx + } } } -- cgit v1.2.3