summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/xctest.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/xctest.prf')
-rw-r--r--mkspecs/features/xctest.prf6
1 files changed, 6 insertions, 0 deletions
diff --git a/mkspecs/features/xctest.prf b/mkspecs/features/xctest.prf
new file mode 100644
index 0000000000..540c7590ad
--- /dev/null
+++ b/mkspecs/features/xctest.prf
@@ -0,0 +1,6 @@
+equals(TEMPLATE, app):macx-xcode {
+ load(sdk)
+ # Make the XCTest framework available. This is normally handled automatically
+ # by Xcode based on heuristics, but we need to explicitly link to XCTest.
+ QMAKE_LFLAGS += -F$${QMAKE_MAC_SDK_PLATFORM_PATH}/Developer/Library/Frameworks -weak_framework XCTest
+}