Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Help Qt Configuration for iOS Development
Forum Updated to NodeBB v4.3 + New Features

Help Qt Configuration for iOS Development

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 2 Posters 2.4k 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.
  • T Offline
    T Offline
    tonyhhkx
    wrote on 27 Oct 2016, 10:33 last edited by A Former User
    #1

    Hi everybody,

    i tried to configure the QT environment but i've a lot of problems and confusion about the procedure.
    I will explain step by step my procedure:

    I using a MAC with macOS Sierra Version 10.12.1

    alt text

    I using xCode Version 8.0 (are installed iOS Device Simulator with version 9.3 and 10.0)
    alt text
    alt text

    I download QT for Open source distribution https://www.qt.io/download-open-source/ and run QT Creator.

    First problem:
    When i clicks to preferences->Buid & Run i sees the Qt Version "Qt 5-7-0 for iOS" with yellow warning and message "Not all possible target can be supported due to missing compilers".
    Why the system shows this message? How i can fix this message?
    alt text

    Second problem:
    When i clicks to preferences->Build and Run i sees the Kits "iphonesimulator-clang Qt 5.7.0 for iOS" with yellow warning.
    Why the system shows this message? How i can fix this error?
    alt text

    I think this 2 problems are the cause for all my future problems for example when i run the HelloWorld application.
    If i run with Desktop kit works fine.
    If i run with other iphoneos or iphonesimulator kits the system shows the "Project ERROR: Current iphonesimulator SDK version (10.0) is too old. Please upgrade Xcode" error.
    I tried to commented the SDK version control in the sdk.prf file but when i runs the application i've other error like Xcodebuild failed.

    Could you please help me to understand if i missing something?

    My other confusion is how to Deploy the HelloWorld application to iOS Device (i've all licenses for develop and deploy in iOS).
    Is essential to run the QT Project with xCODE? If yes i found commands line to covert the .pro app in xCode project. But seems there are a lot of problems, perhaps because is essential to fix the errors above.

    Thanks in advance for the help. If you need other info or screenshot please not hesitate to let me know.

    Tony

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 27 Oct 2016, 21:07 last edited by
      #2

      Hi and welcome to devnet,

      Xcode 8 has brought several changes that are getting fixed. AFAIK, Qt 5.6.2 should have these in. You should test with that version.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      T 2 Replies Last reply 28 Oct 2016, 06:25
      1
      • S SGaist
        27 Oct 2016, 21:07

        Hi and welcome to devnet,

        Xcode 8 has brought several changes that are getting fixed. AFAIK, Qt 5.6.2 should have these in. You should test with that version.

        T Offline
        T Offline
        tonyhhkx
        wrote on 28 Oct 2016, 06:25 last edited by
        #3

        @SGaist said in Help Qt Configuration for iOS Development:

        Xcode 8 has brought several changes that are getting fixed. AFAIK, Qt 5.6.2 should have these in. You should test with that version

        Really thanks for the info.
        So you advice to uninstall all and install all again with a previous version 5.6 and not 5.7. This should be resolve all simulator problem?

        PS: i discovered that a new version about xcode is available (8.1). I dont know if this could be fix something with qt?

        1 Reply Last reply
        0
        • S SGaist
          27 Oct 2016, 21:07

          Hi and welcome to devnet,

          Xcode 8 has brought several changes that are getting fixed. AFAIK, Qt 5.6.2 should have these in. You should test with that version.

          T Offline
          T Offline
          tonyhhkx
          wrote on 28 Oct 2016, 11:28 last edited by
          #4

          @SGaist said in Help Qt Configuration for iOS Development:

          Hi and welcome to devnet,

          Xcode 8 has brought several changes that are getting fixed. AFAIK, Qt 5.6.2 should have these in. You should test with that version.

          i installed all in other directory. When i run Qt Creator shows the same situation :(

          alt text

          Any help?

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tonyhhkx
            wrote on 10 Nov 2016, 08:29 last edited by
            #5

            Dear All, i tried to install all again but i've the same problem.

            Could you please tell me how to proceed?

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 10 Nov 2016, 21:31 last edited by
              #6

              Does that create a problem to build your application ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              T 1 Reply Last reply 11 Nov 2016, 07:21
              0
              • S SGaist
                10 Nov 2016, 21:31

                Does that create a problem to build your application ?

                T Offline
                T Offline
                tonyhhkx
                wrote on 11 Nov 2016, 07:21 last edited by tonyhhkx 11 Nov 2016, 07:22
                #7

                @SGaist

                if i builds for Desktop Application works fine, i i builds with iphone-clang i receive the error Xcodebuild failed, if i builds with iphonesimulator-clang i receive the message Starting remote process.Run ended.

                Please note that only when i run with iphone-clang the system create the correct file xcode to run and execute for Generic device. But sometime i've problems like slow swipe map or other. I think the problem is that the system not generate in te correct way all files.

                What do you think?

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 11 Nov 2016, 23:08 last edited by
                  #8

                  Xcode 8 brought in all sorts of changes that broke stuff here and there.

                  I've generated a project with qmake and then I could build and run on a device through Xcode.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  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