Details
-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
5.11.2
-
None
-
* OSX: 10.13.6
* XCode: 10.0
* Qt: 5.11.2 for iOS (official)
* QtC: 4.7.2
Description
How to reproduce an issue:
- Startup QtCreator
- Open: /Users/admin/Qt/Examples/Qt-5.11.2/widgets/tools/plugandpaint/plugandpaint.pro example project
- Choose iOS build target.
- Run 'qmake' and exit from QtCreator.
- Search for generated plugandpaint.xcodeproj
- Open this project in XCode.
- Try to build from XCode and watch for linker error:
ld: library not found for -lpnp_basictools_debug
where 'pnp_basictools_debug' is a target of a static plugin, located in same plugandpaint.pro project!
UPD: The effective qmake command in Qt Creator is:
/Users/admin/Qt/5.11.2/ios/bin/qmake /Users/admin/Qt/Examples/Qt-5.11.2/widgets/tools/plugandpaint/plugandpaint.pro -spec macx-ios-clang CONFIG+=release CONFIG+=iphoneos CONFIG+=device CONFIG+=qtquickcompiler && /usr/bin/make qmake_all