Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [SOLVED] Qt 5.1 Beta binary + XCode = iOS app?

[SOLVED] Qt 5.1 Beta binary + XCode = iOS app?

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jesdisciple
    wrote on last edited by
    #1

    I have the Qt 5.1 Beta binary for OS X and I'm trying to use it to build a simple iOS app. There must be some configuration option I need to set, because changing all my .cpp files to .mm doesn't result in .mm files in my build directory (i.e. where the proper source goes, not the Qt-C++). Do I need to add +=ios somewhere in my .pro?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jesdisciple
      wrote on last edited by
      #2

      I read somewhere that Qt5, unlike Qt4, doesn't build to multiple platforms in one binary (in this case x86/arm, not sure whether it applies to OSes too), and then it clicked that the only binary for Mac builds to Mac x86 so I need to make my own for the iPhone (even the simulator). This page, specifically "Getting started" at the bottom, walks you through that process:

      http://blog.qt.digia.com/blog/2013/03/05/qt-for-ios-preview/

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved