Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Is there a way to compile a Qt iOS project with xCode?
NullByte last edited by
Is there a way to compile a Qt iOS project with xCode? Do we have a chance to build the project with xcode and upload it to ios devices?
@NullByte sure, no problem at all.
in fact, the automated build process in QtCreator will create a default Xcode project and will that compile that via the Xcode command line tools.
the minimum requirements for this is, IIRC
- running qmake
- running moc
qmake should generate the Xcode project file and moc should generate all the temporary auto generated files qt needs.
Then you can simply open the Xcode project in Xcode.
KH-219Design last edited by
In case anyone also is curious whether you can achieve an unattended continuous integration build of a Qt iOS project, here is how I got that to work in GitHub CI actions: https://github.com/219-design/qt-qml-project-template-with-ci/pull/34
I set it up in 2020, but as of today (Jan 2022) this CI job is still running. (The project uses Qt5, not 6)