diff options
Diffstat (limited to 'src/plugins/platforms/xcb/xcb.pro')
-rw-r--r-- | src/plugins/platforms/xcb/xcb.pro | 4 |
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 |