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. How to compile an iOS application in Qt?
Forum Updated to NodeBB v4.3 + New Features

How to compile an iOS application in Qt?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
64 Posts 11 Posters 22.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.
  • M Offline
    M Offline
    Mikeeeeee
    wrote on last edited by
    #51

    Maybe this version of Qt does not work, I need to install another version?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #52

      How did you install Xcode ?

      Since your configuration seems to be broken, I'd go with a full removal and new installation of the Qt SDK. Only install Qt for macOS and Qt for iOS.

      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
      • M Offline
        M Offline
        Mikeeeeee
        wrote on last edited by
        #53

        Reinstalled. Works compiler emulator ios. The IOS compiler does not work. Compiled a project for the IOS emulator. What to do next? What files can I use on ios? Or I need something else to do with .xcodeproj file?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #54

          Then the first you have to do is to build a dummy project within Xcode and make it run on your device. There's no use trying to setup Qt if Xcode doesn't work properly in the first place.

          And again, how did you install Xcode ? What exact version is it ?

          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
          • M Offline
            M Offline
            Mikeeeeee
            wrote on last edited by
            #55

            Xcode10.1
            I checked, Xcode works.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #56

              "Xcode works" is a bit light on information. Did you successfully build and start an application on your device ?

              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
              • M Offline
                M Offline
                Mikeeeeee
                wrote on last edited by
                #57

                I don't know much about Xcode. I created a project in Xcode and ran it on the ios emulator from Xcode.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #58

                  You do realise that we have been asking you to build that application and then run it on your device to ensure that you have everything working correctly on that side since it's what seem to be not working currently ?

                  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
                  1
                  • M Offline
                    M Offline
                    Mikeeeeee
                    wrote on last edited by Mikeeeeee
                    #59

                    I don't have IOS device

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      Mikeeeeee
                      wrote on last edited by
                      #60

                      I think I've set everything up. All thanks.

                      1 Reply Last reply
                      0
                      • B Offline
                        B Offline
                        BerndJ
                        wrote on last edited by
                        #61

                        I had a somehow similar problem when I set up my new Mac mini to macOS 10.14 and Xcode to version 11, in order to support iOS 13. No iOS kit available. I thought I had installed Xcode command line tools as required. But this was not really recognized by Xcode. I had to open Xcode - Preferences - Locations, and in the Command Line Tools drop down list select the entry "Xcode 1.1 (11A1027)", which was already in the list, but not selected before.
                        This made the Qt installer message "You need to install Xcode and set up Xcode command line tools" disappear, and after Qt installation I found all the iOS Kits being offered, which I had missed before.

                        Maybe this can help someone else.

                        B S 2 Replies Last reply
                        6
                        • M Offline
                          M Offline
                          mayanancy
                          Banned
                          wrote on last edited by
                          #62
                          This post is deleted!
                          1 Reply Last reply
                          0
                          • B BerndJ

                            I had a somehow similar problem when I set up my new Mac mini to macOS 10.14 and Xcode to version 11, in order to support iOS 13. No iOS kit available. I thought I had installed Xcode command line tools as required. But this was not really recognized by Xcode. I had to open Xcode - Preferences - Locations, and in the Command Line Tools drop down list select the entry "Xcode 1.1 (11A1027)", which was already in the list, but not selected before.
                            This made the Qt installer message "You need to install Xcode and set up Xcode command line tools" disappear, and after Qt installation I found all the iOS Kits being offered, which I had missed before.

                            Maybe this can help someone else.

                            B Offline
                            B Offline
                            Basak
                            wrote on last edited by
                            #63

                            @BerndJ Thx for your help.It worked out very well.

                            1 Reply Last reply
                            0
                            • B BerndJ

                              I had a somehow similar problem when I set up my new Mac mini to macOS 10.14 and Xcode to version 11, in order to support iOS 13. No iOS kit available. I thought I had installed Xcode command line tools as required. But this was not really recognized by Xcode. I had to open Xcode - Preferences - Locations, and in the Command Line Tools drop down list select the entry "Xcode 1.1 (11A1027)", which was already in the list, but not selected before.
                              This made the Qt installer message "You need to install Xcode and set up Xcode command line tools" disappear, and after Qt installation I found all the iOS Kits being offered, which I had missed before.

                              Maybe this can help someone else.

                              S Offline
                              S Offline
                              supergianluk
                              wrote on last edited by
                              #64

                              @BerndJ Great! Thank you, saved me a lot of time reading every possible (wrong) answer..

                              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