summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/testcase.prf
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-11-25 13:35:45 +0100
committerJani Heikkinen <jani.heikkinen@qt.io>2018-11-27 07:53:42 +0000
commit2aef845c03a9544d51cdf67f712ecd1a7e62110f (patch)
treef1569b5550e7570f314221b2662ab31db5d5308b /mkspecs/features/testcase.prf
parent8e8c11f4f3d5ccb8b1a9042d363e4d1639797df3 (diff)
macOS: Don't link to debug versions of frameworks unless requested
The failure mode of this behavior is worse than the surprises that the non-explicit library dependency chain has, so it should be opt-in. This reverts back to the behavior in Qt 5.11, but lets our tests opt in to the feature. Fixes: QTBUG-71724 Change-Id: Iede11f02d978b637324ddf71d29e7c99fe3ee99f Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'mkspecs/features/testcase.prf')
-rw-r--r--mkspecs/features/testcase.prf3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkspecs/features/testcase.prf b/mkspecs/features/testcase.prf
index 79883b7f09..bfc28c6861 100644
--- a/mkspecs/features/testcase.prf
+++ b/mkspecs/features/testcase.prf
@@ -21,6 +21,9 @@ testcase_lowdpi {
}
}
+# Make sure we explicitly link to the debug version of the Qt libraries if needed
+macos: CONFIG += qt_link_suffixed_framework
+
benchmark: type = benchmark
else: type = check