summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_functions.prf
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>2016-02-15 19:41:20 +0100
committerTor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>2016-02-17 13:06:45 +0000
commitd6c8073a34e77f8a1afbca913df86f7e70ee9f74 (patch)
treebbd3cb297e84a8c1c85fee77caaf76fcfc954271 /mkspecs/features/qt_functions.prf
parentbfeb2fdd7999e63fd21045eb7c0ac5dc5e62d726 (diff)
Revert "Fix shared library framework builds of Qt with a platform suffix."
This reverts commit c4ecb81d6d64a190f7d24222d8cf35d953e73c1e. Hard-coding the library suffix into the linker flags was wrong. The library suffix is handled at runtime with DYLD_IMAGE_SUFFIX, set as part of the Xcode scheme or during debugging in .lldbinit. Change-Id: I11907b2755f7f187fb6fa18202813fde9ada4354 Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'mkspecs/features/qt_functions.prf')
-rw-r--r--mkspecs/features/qt_functions.prf10
1 files changed, 0 insertions, 10 deletions
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
index 88467e89ba..b2c2507807 100644
--- a/mkspecs/features/qt_functions.prf
+++ b/mkspecs/features/qt_functions.prf
@@ -13,16 +13,6 @@ defineReplace(qtPlatformTargetSuffix) {
return($$suffix)
}
-# suffix for the -framework linker flag when the exectuable's name
-# differs from the bundle's, for example -framework QtCore,_debug
-# links to QtCore.framework/QtCore_debug
-defineReplace(qtFrameworkPlatformTargetSuffix) {
- suffix = $$qtPlatformTargetSuffix()
- !isEmpty(suffix): \
- suffix = ,$$suffix
- return($$suffix)
-}
-
defineReplace(qtLibraryTarget) {
LIBRARY_NAME = $$1
CONFIG(shared, static|shared):contains(QT_CONFIG, qt_framework) {