summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/xcb.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/xcb/xcb.pro')
-rw-r--r--src/plugins/platforms/xcb/xcb.pro7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/xcb.pro b/src/plugins/platforms/xcb/xcb.pro
index 13fe5b900c..2498581eb7 100644
--- a/src/plugins/platforms/xcb/xcb.pro
+++ b/src/plugins/platforms/xcb/xcb.pro
@@ -45,6 +45,13 @@ contains(QT_CONFIG, xcb-poll-for-queued-event) {
contains(QT_CONFIG, xcb-xlib) {
DEFINES += XCB_USE_XLIB
LIBS += -lX11 -lX11-xcb
+
+ linux-g++-maemo:contains(QT_CONFIG, xinput2) {
+ # XInput2 support for Harmattan.
+ DEFINES += XCB_USE_XINPUT2_MAEMO
+ SOURCES += qxcbconnection_maemo.cpp
+ LIBS += -lXi
+ }
}
# to support custom cursors with depth > 1