Solved Divide *.pro file configuration for iOS and iOS Simulator. How?
-
Hello!
I've got totally forgotten how to define configuration for iOS and iOS Simulator separately in *.pro file. Could someone to refresh it for me? Which keyword should I use for iOS only and for iOS Simulator only? -
@bogong https://doc.qt.io/qt-5/qmake-language.html#platform-scope-values
"These are based on platform specifications provided in Qt's mkspecs directory" - check that directory. -
Solution found. Issue closed.
Use this:iphonesimulator { } iphoneos { }
instead of:
ios { }
BTW: link mentioned above have no information about this topic.
-
@bogong "These are based on platform specifications provided in Qt's mkspecs directory" - is this suggests you can check the mkspecs subdirectory of you Qt installation to see what is available.