Qt Creator IDE & iOS
Qt 5.2 coming in December brings full iOS support with it, but obviously you don't want to just develop with Qt, you also want to use the best IDE available, and that clearly means using Qt Creator ;-).
Luckily, we've got you covered: we have developed an iOS plugin for Qt Creator 3.0.
With it, you can develop, build, run, and debug within Qt Creator.
As Apple provides toolchains, device developer images, and other things you need only for OS X, we support only OS X as a development and deployment platform.
The plugin is still experimental, which means that you have to explicitly enable it (select Qt Creator > About Plugins).
The final packages should enable the plugin for you if you install the iOS Qt (we know that good developers are lazy...).
Once you have the plugin enabled you need:
- Xcode with command line tools installed (Xcode > Preferences...> Downloads)
- Qt compiled for iOS
This is enough to use the simulator. To develop on a device you also need to:
- Acquire an Apple iOS developer certificate to be able to run on a device.
- Open the Organizer window in Xcode (Cmd-Shift-2) and check that everything is set up correctly for your device.
Then, once you have added your iOS Qt to Qt Creator (select Qt Creator > Preferences > Build & Run > Qt Versions), everything should just work...
...except when it doesn't. I said something about experimental, right?
For that we are counting on you: report the bugs you find!
Here are some dirty details that might be useful in the meantime if things are not fully plug and play:
- Use the latest Qt version possible. For example, in the original beta-1, debugging and building with a make step are broken. When using yesterday's package, you have to manually select the system LLDB in the kit, fix the compiler manually, and debug builds do not work (you can try to debug release builds).
- Standalone Creator is more up to date and currently has no reported bugs in the iOS plugin (you can try to change that :).
- Make sure to add an iOS Qt. In Qt Creator > Preferences > Build & Run > Qt Versions, you can select it and check that it is really recognized as Qt for iOS (the plugin must be enabled for this to work).
- There is an Xcode build step that can be used in place of the make step (replace it in the Projects tab). This does not work for recursive projects, but allows more control for the build process.
- Sometimes automatic recovery and setup fail. Removing everything and setting up again can help (but do report the problem).
- C++ debugging uses the LLDB debugger (new in Qt Creator). QML debugging does not work yet.
That's it... what are you still reading here? Go and try it out, and help us to have a rock solid release!
Subscribe to our newsletter
Try Qt 6.2 Now!
Download the latest release here: www.qt.io/download.
Qt 6 was created to be the productivity platform for the future, with next-gen 2D & 3D UX and limitless scalability.
Explore Qt World
Check our Qt demos and case studies in the virtual Qt World
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Näytä tämä julkaisu Instagramissa.
Want to build something for tomorrow, join #QtPeople today! We have loads of cool jobs you don't want to miss! http://qt.io/careers #builtwithQt #software #developers #coding #framework #tool #tooling #C++ #QML #engineers #sales #tech #technology #UI #UX #CX #Qt #Qtdev #global #openpositions #careers #job
Henkilön Qt (@theqtcompany) jakama julkaisu