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.2 and iOS: Nothing to compile
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Qt 5.2 and iOS: Nothing to compile

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 1.0k 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.
  • Z Offline
    Z Offline
    zottel78
    wrote on last edited by
    #1

    I am currently trying to get a simple widget based "hello world" iOS application getting built with "Qt 5.2 for iOS". However, when using QtCreator to compile a freshly created test application with the iphonesimulator-clang kit it just says "there is nothing to be done for first", and no binary file is created. I have spent a few hours already to track this down, but can't figure out what I have configured wrong.

    I am using a MacBook Air with OS X 10.8.5, Qt 5.2.0, QtCreator 3.0.0 and XCode 5.0.2 (in case this matters). There is also Qt 4.8.5 installed on this machine, this this version is what I used for production purposes.

    Some more things to mention:

    • When running qmake from QtCreator it gives a warning "The version of XCode installed on this system is not recognized"
    • The iOS sample applications shipped with 5.2 do build and run correctly
    • When deleting the ".pro.user" file of such a shipped sample, which means that I need to reconfigure the project in QtCreator again afterwards (selecting the kit), the sample shows the same problems as my freshly created test app: qmake will warn about the XCode version and the make step will not do anything.

    Any hints are more than welcome!

    UPDATE: I have figured out that I need to add xcodebuild as an additional build step for some reason. This causes the files to get compiled. However, linking fails since it tries to link against the device libs (ios/lib/libQt5Gui_debug.a) instead of the simulator libs (ios/lib/libQt5Gui_simulator_debug.a). Any hint how I can fix this?

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      zottel78
      wrote on last edited by
      #2

      Updating to the latest XCode command line tools solved the problem!

      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