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>
bb10
Tor Arne Vestbø 2017-11-03 14:32:04 +01:00
parent 05012f4285
commit 7646f18295
1 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,8 @@ TARGET = $$qt5LibraryTarget($$TARGET)
CONFIG += create_cmake
DEFINES *= QT_DEPRECATED_WARNINGS
load(qt_targets)
load(qt_common)