From 597b99305e7c46ffcc83c60b7412bdff4e888500 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Tue, 17 Jul 2012 23:40:45 +0200 Subject: 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 Reviewed-by: Friedemann Kleint --- src/plugins/platforms/xcb/xcb.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 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 -- cgit v1.2.3