summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/xcb.pro
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2012-07-17 23:40:45 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-25 00:59:32 +0200
commit597b99305e7c46ffcc83c60b7412bdff4e888500 (patch)
treead558750b062b6b7a968c9b80c8ba757ba02908c /src/plugins/platforms/xcb/xcb.pro
parent958e4e6bec1905f59dbac392dc48203a0a770558 (diff)
Reimplement QXcbWindow::setMask() with xcb
This functionality does not need libXext. The bindings for the shape extension from libxcb-shape is enough and is available without Xlib. Change-Id: I9f1927024c64df00ace1666998c6c6deda2ef782 Signed-off-by: Uli Schlachter <psychon@znc.in> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/xcb.pro')
-rw-r--r--src/plugins/platforms/xcb/xcb.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/xcb.pro b/src/plugins/platforms/xcb/xcb.pro
index 70992fc1c0..76cdbf488b 100644
--- a/src/plugins/platforms/xcb/xcb.pro
+++ b/src/plugins/platforms/xcb/xcb.pro
@@ -45,7 +45,6 @@ contains(QT_CONFIG, xcb-poll-for-queued-event) {
# needed by GLX, Xcursor, XLookupString, ...
contains(QT_CONFIG, xcb-xlib) {
DEFINES += XCB_USE_XLIB
- !contains(DEFINES, QT_NO_SHAPE):LIBS += -lXext
LIBS += -lX11 -lX11-xcb
linux-g++-maemo {
@@ -71,6 +70,8 @@ contains(QT_CONFIG, xcb-render) {
LIBS += -lxcb-render -lxcb-render-util -lXrender
}
+!contains(DEFINES, QT_NO_SHAPE):LIBS += -lxcb-shape
+
# DEFINES += XCB_USE_DRI2
contains(DEFINES, XCB_USE_DRI2) {
LIBS += -lxcb-dri2 -lEGL