Mobile Apps with Qt: Qt5 and iOS References

From CSclasswiki
Jump to: navigation, search

--Thiebaut 17:24, 2 March 2014 (EST)

A Step-By-Step Guide to Porting Qt5 Apps to an iOS Device

  • The Qt instructions are good in general, but I have found that success with Qt5 requires a lot of tinkering.
  • The steps below are not guaranteed to work, but should be helpful none the less if you're having problems, or if you have tried pushing an App from Qt Creator and were not successful.

Installed Software

  • Qt Creator 5.2.0
  • XCode 4.6.3 (works also with XCode 5.0)

Required Steps

  • Register with Apple for their developer license (through Smith College)
  • It is best to import the certificate from Apple and install it on your iPhone and/or iPad through Xcode.


  • Open Xcode.

  • Install Qt Creator 5.2.0
  • Update xCode to latest version (5.0.2)
  • Register as a developer for iOS with Apple (see email from Tom L.)
  • Open xCode, and request developer certificate (see this page for more info).
  • See page Connecting iOS devices in Qt Creator help.
  • Follow video below and see if can push simple hello world program (no need to modify the program as is done in video, and skip the Android demo)


One reference seems to have good information but couldn't go anywhere with it...

Note that in the list of commands to use to make the simulator, you should replace:
  ./configure -xplatform unsupported/macx-ios-clang -developer-build -opensource \
           -confirm-license -nomake examples -nomake tests -release -sdk iphonesimulator
  ./configure -xplatform macx-ios-clang -developer-build -opensource \
           -confirm-license -nomake examples -nomake tests -release -sdk iphonesimulator