[Interest] PRO File defines

mark diener rpzrpzrpz at gmail.com
Sun Apr 24 19:45:21 CEST 2016


Hello List:

Who can tell me how to detect whether a build is for IOS or IOS Simulator
in the project PRO file.

ios {
    QMAKE_IOS_DEPLOYMENT_TARGET=8.0
    QMAKE_IOS_TARGETED_DEVICE_FAMILY=1,2
}

But how to I differentiate between IOS builds and IOS-simulator builds?

Thanks,

Marco



More information about the Interest mailing list