summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_common.prf
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-01-24 14:54:08 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-28 05:43:18 +0100
commitbb6b2f4073fe9934f78d5f5382b59c70f6c1b515 (patch)
treed19776182975c4f2f9a6665651bfb79f07285a2b /mkspecs/features/qt_common.prf
parent123ce761c058acc0222792e96c9aba22d06e619c (diff)
Add qt_common.prf and move some common definitions there
This file is now included by three types of Qt output: modules, plugins (including QML plugins) and tools. Change-Id: I5085f6ff37f70e9228303bf0520040adc2e2d7a5 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'mkspecs/features/qt_common.prf')
-rw-r--r--mkspecs/features/qt_common.prf20
1 files changed, 20 insertions, 0 deletions
diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf
new file mode 100644
index 0000000000..203b74f031
--- /dev/null
+++ b/mkspecs/features/qt_common.prf
@@ -0,0 +1,20 @@
+#
+# W A R N I N G
+# -------------
+#
+# This file is not part of the Qt API. It exists purely as an
+# implementation detail. It may change from version to version
+# without notice, or even be removed.
+#
+# We mean it.
+#
+
+contains(TEMPLATE, .*lib) {
+ # module and plugins
+ contains(QT_CONFIG, reduce_exports): CONFIG += hide_symbols
+ unix:contains(QT_CONFIG, reduce_relocations): CONFIG += bsymbolic_functions
+ contains(QT_CONFIG, largefile): CONFIG += largefile
+ contains(QT_CONFIG, separate_debug_info): CONFIG += separate_debug_info
+ contains(QT_CONFIG, separate_debug_info_nocopy): CONFIG += separate_debug_info_nocopy
+ contains(QT_CONFIG, c++11):CONFIG += c++11
+}