diff options
author | Tasuku Suzuki <tasuku.suzuki@qt.io> | 2017-01-13 19:05:32 +0900 |
---|---|---|
committer | Tasuku Suzuki <tasuku.suzuki@qt.io> | 2017-01-15 04:52:17 +0000 |
commit | 52db6d23381269f0806377574d08e36aa05fc31a (patch) | |
tree | 845c1bc2d83de99411f52408fedac1f4cd125ea6 /src/client | |
parent | cab7cb98d5b9530a3c265cc2436dd7d157e43f66 (diff) |
Fix build without feature.draganddrop
Change-Id: I4fff1a8d48483298eebecdc751fe76e80444bd99
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/client.pro | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/client/client.pro b/src/client/client.pro index 6904e905c..92d4309ff 100644 --- a/src/client/client.pro +++ b/src/client/client.pro @@ -39,7 +39,6 @@ SOURCES += qwaylandintegration.cpp \ qwaylandwindow.cpp \ qwaylandscreen.cpp \ qwaylandshmwindow.cpp \ - qwaylanddnd.cpp \ qwaylanddataoffer.cpp \ qwaylanddatadevicemanager.cpp \ qwaylanddatasource.cpp \ @@ -62,7 +61,6 @@ SOURCES += qwaylandintegration.cpp \ qwaylanddecorationplugin.cpp \ qwaylandwindowmanagerintegration.cpp \ qwaylandinputcontext.cpp \ - qwaylanddatadevice.cpp \ qwaylandshm.cpp \ qwaylandbuffer.cpp \ @@ -75,7 +73,6 @@ HEADERS += qwaylandintegration_p.h \ qwaylandinputdevice_p.h \ qwaylandbuffer_p.h \ qwaylandshmwindow_p.h \ - qwaylanddnd_p.h \ qwaylanddataoffer_p.h \ qwaylanddatadevicemanager_p.h \ qwaylanddatasource_p.h \ @@ -95,7 +92,6 @@ HEADERS += qwaylandintegration_p.h \ qwaylanddecorationplugin_p.h \ qwaylandwindowmanagerintegration_p.h \ qwaylandinputcontext_p.h \ - qwaylanddatadevice_p.h \ qwaylandshm_p.h \ qtwaylandclientglobal.h \ qtwaylandclientglobal_p.h \ @@ -122,6 +118,14 @@ qtConfig(cursor) { SOURCES += \ qwaylandcursor.cpp } +qtConfig(draganddrop) { + HEADERS += \ + qwaylanddnd_p.h \ + qwaylanddatadevice_p.h + SOURCES += \ + qwaylanddnd.cpp \ + qwaylanddatadevice.cpp +} CONFIG += generated_privates MODULE_PLUGIN_TYPES = \ |