aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2017-11-20 13:19:40 +0100
committerDaniel d'Andrada <daniel.dandrada@luxoft.com>2018-02-28 15:58:03 +0100
commit08f01bf873c72f1e2c8e4a98de0603f24630e856 (patch)
tree3e877264a065a0cbd49fdebe2fb7e6a70e86c655 /tests
parentc7a0fa413edc0ecc2f2873c4dd43dc75797775a7 (diff)
Only enable the touchemulation if xcb is available
Diffstat (limited to 'tests')
-rw-r--r--tests/triton-qmlscene/triton-qmlscene.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/triton-qmlscene/triton-qmlscene.pro b/tests/triton-qmlscene/triton-qmlscene.pro
index e0fa24ee..f2fe3308 100644
--- a/tests/triton-qmlscene/triton-qmlscene.pro
+++ b/tests/triton-qmlscene/triton-qmlscene.pro
@@ -5,7 +5,7 @@ QT += qml quick quick-private gui-private core-private
SOURCES = triton-qmlscene.cpp
-unix:!macos: {
+unix:!macos:system($$pkgConfigExecutable() --libs x11 xi xcb) {
CONFIG += link_pkgconfig
PKGCONFIG += xcb x11 xi
SOURCES += ../../src/MouseTouchAdaptor.cpp