60985aa42b
Use the new qtConfig macro in all pro/pri files. This required adding some feature entries, and adding {private,public}Feature to every referenced already existing entry. Change-Id: I164214dad1154df6ad84e86d99ed14994ef97cf4 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
|
|
# In case the user sets the SDK manually
|
|
contains(QMAKE_MAC_SDK, ^$${simulator.sdk}.*) {
|
|
qtConfig(simulator_and_device): \
|
|
error("Simulator is handled automatically for simulator_and_device")
|
|
|
|
CONFIG += simulator $${simulator.sdk}
|
|
}
|
|
|
|
build_pass:simulator: \
|
|
QMAKE_MAC_SDK ~= s,^$${device.sdk},$${simulator.sdk},
|
|
|
|
load(sdk)
|
|
|
|
macx-xcode {
|
|
sdk_path_device.name = "QMAKE_MAC_SDK_PATH[sdk=$${device.sdk}*]"
|
|
sdk_path_device.value = $$xcodeSDKInfo(Path, $${device.sdk})
|
|
sdk_path_simulator.name = "QMAKE_MAC_SDK_PATH[sdk=$${simulator.sdk}*]"
|
|
sdk_path_simulator.value = $$xcodeSDKInfo(Path, $${simulator.sdk})
|
|
QMAKE_MAC_XCODE_SETTINGS += sdk_path_device sdk_path_simulator
|
|
QMAKE_MAC_SDK_PATH = "$(QMAKE_MAC_SDK_PATH)"
|
|
|
|
sdk_platform_path_device.name = "QMAKE_MAC_SDK_PLATFORM_PATH[sdk=$${device.sdk}*]"
|
|
sdk_platform_path_device.value = $$xcodeSDKInfo(PlatformPath, $${device.sdk})
|
|
sdk_platform_path_simulator.name = "QMAKE_MAC_SDK_PLATFORM_PATH[sdk=$${simulator.sdk}*]"
|
|
sdk_platform_path_simulator.value = $$xcodeSDKInfo(PlatformPath, $${simulator.sdk})
|
|
QMAKE_MAC_XCODE_SETTINGS += sdk_platform_path_device sdk_platform_path_simulator
|
|
QMAKE_MAC_SDK_PLATFORM_PATH = "$(QMAKE_MAC_SDK_PLATFORM_PATH)"
|
|
}
|