summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-03-03 15:24:23 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-03-03 15:42:30 (GMT)
commitd585a66127f9ea13a07675e87fe0066037643df5 (patch)
treeb76294ffc1be99b6fe70efb14a9575181b76ea9c /src
parent7b7630eaca0fe1c3e0484232aa42b7cf9e86e3a3 (diff)
downloadQt-d585a66127f9ea13a07675e87fe0066037643df5.zip
Qt-d585a66127f9ea13a07675e87fe0066037643df5.tar.gz
Qt-d585a66127f9ea13a07675e87fe0066037643df5.tar.bz2
Lighthouse: Make xcb backen usable for anyone else again
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platforms/xcb/xcb.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/xcb.pro b/src/plugins/platforms/xcb/xcb.pro
index 2237cee..fdbe2cd 100644
--- a/src/plugins/platforms/xcb/xcb.pro
+++ b/src/plugins/platforms/xcb/xcb.pro
@@ -26,10 +26,13 @@ HEADERS = \
contains(QT_CONFIG, opengl) {
QT += opengl
- DEFINES += XCB_USE_DRI2
+# DEFINES += XCB_USE_DRI2
contains(DEFINES, XCB_USE_DRI2) {
LIBS += -lxcb-dri2 -lxcb-xfixes -lEGL
+ CONFIG += link_pkgconfig
+ PKGCONFIG += libdrm
+
HEADERS += qdri2context.h
SOURCES += qdri2context.cpp