[Interest] PRO File defines

Igor Mironchik igor.mironchik at gmail.com
Sun Apr 24 19:47:58 CEST 2016


Hi,

For real device you can use:

ios {
   iphoneos {
     # Here is the real device....
   }
}

On 24.04.2016 20:45, mark diener wrote:
> 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
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list