summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/xctest.prf
blob: 4ee504f0ad6fd3ec62ffe0c7f91bdaa0fa8b1693 (plain)
1
2
3
4
5
6
7
equals(TEMPLATE, app) {
    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.
    !isEmpty(QMAKE_MAC_SDK_PLATFORM_PATH): \
        QMAKE_LFLAGS += -F$${QMAKE_MAC_SDK_PLATFORM_PATH}/Developer/Library/Frameworks -weak_framework XCTest
}