summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/qt.prf87
1 files changed, 43 insertions, 44 deletions
diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf
index 7b41859d09..2db61f734a 100644
--- a/mkspecs/features/qt.prf
+++ b/mkspecs/features/qt.prf
@@ -30,11 +30,52 @@ plugin { #Qt plugins
}
}
-QT_PLUGIN_VERIFY = DEPLOYMENT_PLUGIN
+qtestlib {
+ warning("CONFIG+=qtestlib is deprecated. Use QT+=testlib instead.")
+ QT += testlib
+}
+qdbus {
+ warning("CONFIG+=qdbus is deprecated. Use QT+=dbus instead.")
+ QT += dbus
+}
+help {
+ warning("CONFIG+=help is deprecated. Use QT+=help instead.")
+ QT += help-private # sic!
+}
+designer {
+ warning("CONFIG+=designer is deprecated. Use QT+=designer instead.")
+ QT += designer
+}
+uitools {
+ warning("CONFIG+=uitools is deprecated. Use QT+=uitools instead.")
+ QT += uitools
+}
+qaxcontainer {
+ warning("CONFIG+=qaxcontainer is deprecated. Use QT+=axcontainer instead.")
+ QT += axcontainer
+}
+qaxserver {
+ warning("CONFIG+=qaxserver is deprecated. Use QT+=axserver instead.")
+ QT += axserver
+}
+unset(using_privates)
+qtAddModules(QT, LIBS)
+qtAddModules(QT_PRIVATE, LIBS_PRIVATE)
+!isEmpty(using_privates):!auto_use_privates:!no_private_qt_headers_warning:if(!debug_and_release|!build_pass) {
+ message("This project is using private headers and will therefore be tied to this specific Qt module build version.")
+ message("Running this project against other versions of the Qt modules may crash at any arbitrary point.")
+ message("This is not a bug, but a result of using Qt internals. You have been warned!")
+}
+
+wince*:static:gui {
+ QTLIB += qmenu_wce.res
+}
+
+QT_PLUGIN_VERIFY = DEPLOYMENT_PLUGIN
contains(QT_CONFIG, static) {
QT_PLUGIN_VERIFY += QTPLUGIN
- contains(TEMPLATE, .*app) {
+ force_import_plugins|contains(TEMPLATE, .*app) {
contains(QT, gui):import_qpa_plugin {
qpa_minimal_plugin: \
QTPLUGIN += qminimal
@@ -93,45 +134,3 @@ for(QT_CURRENT_VERIFY, $$list($$QT_PLUGIN_VERIFY)) {
}
}
}
-
-qtestlib {
- warning("CONFIG+=qtestlib is deprecated. Use QT+=testlib instead.")
- QT += testlib
-}
-qdbus {
- warning("CONFIG+=qdbus is deprecated. Use QT+=dbus instead.")
- QT += dbus
-}
-help {
- warning("CONFIG+=help is deprecated. Use QT+=help instead.")
- QT += help-private # sic!
-}
-designer {
- warning("CONFIG+=designer is deprecated. Use QT+=designer instead.")
- QT += designer
-}
-uitools {
- warning("CONFIG+=uitools is deprecated. Use QT+=uitools instead.")
- QT += uitools
-}
-qaxcontainer {
- warning("CONFIG+=qaxcontainer is deprecated. Use QT+=axcontainer instead.")
- QT += axcontainer
-}
-qaxserver {
- warning("CONFIG+=qaxserver is deprecated. Use QT+=axserver instead.")
- QT += axserver
-}
-
-unset(using_privates)
-qtAddModules(QT, LIBS)
-qtAddModules(QT_PRIVATE, LIBS_PRIVATE)
-!isEmpty(using_privates):!auto_use_privates:!no_private_qt_headers_warning:if(!debug_and_release|!build_pass) {
- message("This project is using private headers and will therefore be tied to this specific Qt module build version.")
- message("Running this project against other versions of the Qt modules may crash at any arbitrary point.")
- message("This is not a bug, but a result of using Qt internals. You have been warned!")
-}
-
-wince*:static:gui {
- QTLIB += qmenu_wce.res
-}