diff options
-rw-r--r-- | src/plugins/platforms/xcb/xcb.pro | 5 |
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 |