summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-11-03 14:32:04 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-11-08 00:55:20 +0000
commit7646f182956e7fc5b5cf0a3c5e624115a07310a4 (patch)
tree044f0a44a235c0bec586e2b509f02a5be7766728 /mkspecs
parent05012f4285ac38c7975138b7f839e158a6f961a3 (diff)
Enable deprecation warnings for Qt plugins, just like for modules
We want to know when a plugin uses deprecated Qt APIs, especially deprecations in the QPA APIs, which today is not the case, so platform plugins have no idea that they should transition. Change-Id: If9d3d95dc6f1f4178b103f177c9eb8326767ffab Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/qt_plugin.prf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/features/qt_plugin.prf b/mkspecs/features/qt_plugin.prf
index 62e1b69fde..9676244cc2 100644
--- a/mkspecs/features/qt_plugin.prf
+++ b/mkspecs/features/qt_plugin.prf
@@ -95,6 +95,8 @@ TARGET = $$qt5LibraryTarget($$TARGET)
CONFIG += create_cmake
+DEFINES *= QT_DEPRECATED_WARNINGS
+
load(qt_targets)
load(qt_common)