diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-07-17 15:41:06 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-07-20 06:40:12 +0000 |
commit | 87d5d14d10b737d540653b754457dd15bdaee999 (patch) | |
tree | 5dce9c7c7fc9585c04278835f246787ec3a4606a /mkspecs/macx-xcode | |
parent | 65463857a9f489f45b68287bdcc4fe540eeb2463 (diff) |
qmake: Write correct Xcode project directory name to xcscheme file
The Xcode project name may be affected by e.g. the -o argument to qmake,
so we can't assume it's based on the target.
Change-Id: Ibb9f4265017ffcfe26bd8734758dcb30237c704f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'mkspecs/macx-xcode')
-rw-r--r-- | mkspecs/macx-xcode/default.xcscheme | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mkspecs/macx-xcode/default.xcscheme b/mkspecs/macx-xcode/default.xcscheme index bda2b8c1c0..bd2cb0e565 100644 --- a/mkspecs/macx-xcode/default.xcscheme +++ b/mkspecs/macx-xcode/default.xcscheme @@ -17,7 +17,7 @@ BlueprintIdentifier = "@TARGET_PBX_KEY@" BuildableName = "@QMAKE_ORIG_TARGET@" BlueprintName = "@QMAKE_ORIG_TARGET@" - ReferencedContainer = "container:@QMAKE_ORIG_TARGET@.xcodeproj"> + ReferencedContainer = "container:@QMAKE_RELATIVE_PBX_DIR@"> </BuildableReference> </BuildActionEntry> </BuildActionEntries> @@ -35,7 +35,7 @@ BlueprintIdentifier = "@TEST_BUNDLE_PBX_KEY@" BuildableName = "Qt Test" BlueprintName = "Qt Test" - ReferencedContainer = "container:@QMAKE_ORIG_TARGET@.xcodeproj"> + ReferencedContainer = "container:@QMAKE_RELATIVE_PBX_DIR@"> </BuildableReference> </TestableReference> </Testables> @@ -45,7 +45,7 @@ BlueprintIdentifier = "@TARGET_PBX_KEY@" BuildableName = "@QMAKE_ORIG_TARGET@" BlueprintName = "@QMAKE_ORIG_TARGET@" - ReferencedContainer = "container:@QMAKE_ORIG_TARGET@.xcodeproj"> + ReferencedContainer = "container:@QMAKE_RELATIVE_PBX_DIR@"> </BuildableReference> </MacroExpansion> <CommandLineArguments> @@ -71,7 +71,7 @@ BlueprintIdentifier = "@TARGET_PBX_KEY@" BuildableName = "@QMAKE_ORIG_TARGET@" BlueprintName = "@QMAKE_ORIG_TARGET@" - ReferencedContainer = "container:@QMAKE_ORIG_TARGET@.xcodeproj"> + ReferencedContainer = "container:@QMAKE_RELATIVE_PBX_DIR@"> </BuildableReference> </BuildableProductRunnable> <EnvironmentVariables> @@ -96,7 +96,7 @@ BlueprintIdentifier = "@TARGET_PBX_KEY@" BuildableName = "@QMAKE_ORIG_TARGET@" BlueprintName = "@QMAKE_ORIG_TARGET@" - ReferencedContainer = "container:@QMAKE_ORIG_TARGET@.xcodeproj"> + ReferencedContainer = "container:@QMAKE_RELATIVE_PBX_DIR@"> </BuildableReference> </BuildableProductRunnable> </ProfileAction> |