summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/xcb.pro
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-06-08 17:41:12 +0200
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-06-09 11:00:02 +0200
commitbd781231b21308aad4c54b4046e65229a6184c00 (patch)
tree2867aac622cf072806e8163d8093a38e66cd923f /src/plugins/platforms/xcb/xcb.pro
parent4469de4ce7a72ab6824629bfe8483131aaf22137 (diff)
Create custom cursors via XRender.
Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/plugins/platforms/xcb/xcb.pro')
-rw-r--r--src/plugins/platforms/xcb/xcb.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/xcb.pro b/src/plugins/platforms/xcb/xcb.pro
index 0d9e969ddc..c5ce6fa57b 100644
--- a/src/plugins/platforms/xcb/xcb.pro
+++ b/src/plugins/platforms/xcb/xcb.pro
@@ -42,6 +42,9 @@ QT += gui-private core-private
# needed by GLX, Xcursor, ...
DEFINES += XCB_USE_XLIB
+# to support custom cursors with depth > 1
+DEFINES += XCB_USE_RENDER
+
contains(QT_CONFIG, opengl) {
QT += opengl
@@ -74,6 +77,7 @@ contains(QT_CONFIG, opengl) {
LIBS += -lxcb -lxcb-image -lxcb-keysyms -lxcb-icccm -lxcb-sync -lxcb-xfixes
contains(DEFINES, XCB_USE_XLIB): LIBS += -lX11 -lX11-xcb
+contains(DEFINES, XCB_USE_RENDER): LIBS += -lxcb-render -lxcb-render-util
DEFINES += $$QMAKE_DEFINES_XCB
LIBS += $$QMAKE_LIBS_XCB