summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-07-11 12:46:28 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-07-11 18:05:18 +0000
commit4970ef5574017e88bf656a5aaa8a35920c71e405 (patch)
tree529b6bba61c1c3d94412a24b27a02533ffc2102d
parentba87cfd774f0ff32d59cb9a33d9d2da4adcc60b3 (diff)
Windows QPA: Fix build with draganddrop disabled
Task-number: QTBUG-61885 Change-Id: Ibb4a7ac43785dcdb46afcd5c2081e43df7d9e9a5 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
-rw-r--r--src/plugins/platforms/windows/qwindowswindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/platforms/windows/qwindowswindow.cpp b/src/plugins/platforms/windows/qwindowswindow.cpp
index ff362928b6..3a5baf40f0 100644
--- a/src/plugins/platforms/windows/qwindowswindow.cpp
+++ b/src/plugins/platforms/windows/qwindowswindow.cpp
@@ -39,7 +39,9 @@
#include "qwindowswindow.h"
#include "qwindowscontext.h"
-#include "qwindowsdrag.h"
+#if QT_CONFIG(draganddrop)
+# include "qwindowsdrag.h"
+#endif
#include "qwindowsscreen.h"
#include "qwindowsintegration.h"
#include "qwindowsnativeinterface.h"