QT as framework for iOS
-
Hi all,
I was recently working on the iOS app that's going to use some parts of the code from my desktop app. The logic is implemented as a library in the C++ using Qt framework. I successfully compiled my library as an iOS bundle that I can link in XCode successfully but... as it uses QtCore and QtNetwork so the build fails due to missing Qt headers. I need to find a way for linking Qt to my XCode project. Is it possible to build Qt as an iOS framework? It should be definitely possible as Qt for macOS comes as frameworks pack (when installed via brew). Do I need to build Qt on my own or there is a Qt version that I can just download and link to my project?
Thanks a lot,
Dawid -
Hi and welcome to devnet,
You can install the Qt for iOS build using the online installer from the Qt Company.