summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-09-30 17:56:32 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-10-04 08:25:34 +0000
commit05786de9461584268142f11664e19f1370949bc8 (patch)
treead0d7682e94d860af126cc1d6679954591c3b337 /mkspecs
parent4a561c6baf3174522a6a0addd774adaf84289240 (diff)
remove obsolete module warning
this is a relic from the early times of the modularization. Change-Id: I9ca46fa6457bf9ca207b6be1f0637f0349569ddf Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/qt_module.prf8
1 files changed, 0 insertions, 8 deletions
diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
index 168cc47f93..090fa444eb 100644
--- a/mkspecs/features/qt_module.prf
+++ b/mkspecs/features/qt_module.prf
@@ -9,14 +9,6 @@
# We mean it.
#
-!no_qt_module_warning:!contains(QMAKE_INTERNAL_INCLUDED_FILES, .*qmodule\\.pri) {
- QMAKE_ACTUAL_PRO_FILE = $$basename(_PRO_FILE_)
- isEmpty(QMAKE_ACTUAL_PRO_FILE): QMAKE_ACTUAL_PRO_FILE=.pro
- warning("You should probably load(qt_build_config) first in $$QMAKE_ACTUAL_PRO_FILE for $$TARGET, as the latter also load()s qt_module.")
- message("Not doing so may lead to qt_module.prf overriding compiler/linker options in your .pro file.")
- message("Ignore this warning with CONFIG+=no_qt_module_warning if you know what you are doing.")
- unset(QMAKE_ACTUAL_PRO_FILE)
-}
load(qt_build_config) # loads qmodule.pri if hasn't been loaded already
isEmpty(MODULE):MODULE = $$section($$list($$basename(_PRO_FILE_)), ., 0, 0)