[Development] CMake & iOS

Ari Salmi ari.salmi at snowgrains.com
Wed Nov 22 14:23:07 CET 2017


Hi,

Have anyone else tried out creating cmake project for iOS (with Qt 5.9.x and today announced Qt 5.9.3)?

I have - also today with Qt 5.9.3
1. Create new application with Qt Creator with cmake
2. Select iOS as target
3. Compile 

—> it won’t compile for iOS (will do with macOS).

623 x warning coming out from each Qt lib:
:-1: warning: URGENT: building for OSX, but linking in object file (.../Qt/5.9.3/ios/lib/libQt5Core_debug.a(qresource.o)) built for iOS. Note: This will be an error in the future.

And failing in linking phase.
That means the default cmake config for iOS is pointing macOS toolchain?

Br, Ari

Ari Salmi
SnowGrains 
www.snowgrains.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20171122/af0ef9cf/attachment.html>


More information about the Development mailing list