summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_common.prf
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-08-05 13:35:39 +0200
committerLars Knoll <lars.knoll@qt.io>2016-08-19 04:28:05 +0000
commit60985aa42b37217fb4c01ed85bbf6f14410c3491 (patch)
tree710cf1c2457a9e0135d3a2cddf3bf17d2a622378 /mkspecs/features/qt_common.prf
parent792a99438707c78ed96a1b066489f9100c24a922 (diff)
Use qtConfig throughout in qtbase
Use the new qtConfig macro in all pro/pri files. This required adding some feature entries, and adding {private,public}Feature to every referenced already existing entry. Change-Id: I164214dad1154df6ad84e86d99ed14994ef97cf4 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'mkspecs/features/qt_common.prf')
-rw-r--r--mkspecs/features/qt_common.prf12
1 files changed, 6 insertions, 6 deletions
diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf
index c94c603e20..57f1034d28 100644
--- a/mkspecs/features/qt_common.prf
+++ b/mkspecs/features/qt_common.prf
@@ -12,14 +12,14 @@
QMAKE_DIR_REPLACE_SANE += DESTDIR
CONFIG -= debug_and_release_target
-contains(QT_CONFIG, c++11): CONFIG += c++11 strict_c++
-contains(QT_CONFIG, c++14): CONFIG += c++14
-contains(QT_CONFIG, c++1z): CONFIG += c++1z
+qtConfig(c++11): CONFIG += c++11 strict_c++
+qtConfig(c++14): CONFIG += c++14
+qtConfig(c++1z): CONFIG += c++1z
contains(TEMPLATE, .*lib) {
# module and plugins
- !host_build:contains(QT_CONFIG, reduce_exports): CONFIG += hide_symbols
- unix:contains(QT_CONFIG, reduce_relocations): CONFIG += bsymbolic_functions
- contains(QT_CONFIG, separate_debug_info): CONFIG += separate_debug_info
+ !host_build:qtConfig(reduce_exports): CONFIG += hide_symbols
+ unix:qtConfig(reduce_relocations): CONFIG += bsymbolic_functions
+ qtConfig(separate_debug_info): CONFIG += separate_debug_info
!isEmpty(_QMAKE_SUPER_CACHE_): \
rplbase = $$dirname(_QMAKE_SUPER_CACHE_)/[^/][^/]*