summaryrefslogtreecommitdiffstats
path: root/src/client/client.pro
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2017-01-13 20:19:17 +0900
committerTasuku Suzuki <tasuku.suzuki@qt.io>2017-01-13 14:25:20 +0000
commitcab7cb98d5b9530a3c265cc2436dd7d157e43f66 (patch)
treef17e25ec2bf58922fa83afc4e35c282fa0724a0e /src/client/client.pro
parent479a487066484809ebdf3c2c16b3c87c72870483 (diff)
Fix build without feature.cursor
Change-Id: If244e7ac58133ae6fbefacfa243d47fa210140be Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/client/client.pro')
-rw-r--r--src/client/client.pro13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/client/client.pro b/src/client/client.pro
index f1338cc99..6904e905c 100644
--- a/src/client/client.pro
+++ b/src/client/client.pro
@@ -18,7 +18,7 @@ CONFIG += link_pkgconfig wayland-scanner
qtConfig(xkbcommon-evdev): \
QMAKE_USE_PRIVATE += xkbcommon_evdev
-QMAKE_USE += wayland-client wayland-cursor
+QMAKE_USE += wayland-client
INCLUDEPATH += $$PWD/../shared
@@ -35,7 +35,6 @@ SOURCES += qwaylandintegration.cpp \
qwaylandnativeinterface.cpp \
qwaylandshmbackingstore.cpp \
qwaylandinputdevice.cpp \
- qwaylandcursor.cpp \
qwaylanddisplay.cpp \
qwaylandwindow.cpp \
qwaylandscreen.cpp \
@@ -69,7 +68,6 @@ SOURCES += qwaylandintegration.cpp \
HEADERS += qwaylandintegration_p.h \
qwaylandnativeinterface_p.h \
- qwaylandcursor_p.h \
qwaylanddisplay_p.h \
qwaylandwindow_p.h \
qwaylandscreen_p.h \
@@ -116,6 +114,15 @@ include(shellintegration/shellintegration.pri)
include(inputdeviceintegration/inputdeviceintegration.pri)
include(global/global.pri)
+qtConfig(cursor) {
+ QMAKE_USE += wayland-cursor
+
+ HEADERS += \
+ qwaylandcursor_p.h
+ SOURCES += \
+ qwaylandcursor.cpp
+}
+
CONFIG += generated_privates
MODULE_PLUGIN_TYPES = \
wayland-graphics-integration-client \