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

    I don't have an Apple Clang compiler. I used the online setup. When installing online, I did not have the configuration automatically. And it seems that some compilers for some reason have not been installed. It seems that I do not have compilers for iOS. How can this be fixed?

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

      I have only these compilers:
      0_1558427620278_2.png
      0_1558427627202_1.png

      jsulmJ 1 Reply Last reply
      0
      • M Mikeeeeee

        I have only these compilers:
        0_1558427620278_2.png
        0_1558427627202_1.png

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #25

        @Mikeeeeee Can you show the list of your Kits?

        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
          #26

          0_1558434611935_1.png

          jsulmJ J.HilkJ 2 Replies Last reply
          0
          • M Mikeeeeee

            0_1558434611935_1.png

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #27

            @Mikeeeeee For some reason your iOS Qt Kit wasn't autodetected.
            I'm not a Mac expert, but maybe you should try to create and build a default iOS app in XCode to see whether everything needed for iOS apps is installed?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • M Mikeeeeee

              0_1558434611935_1.png

              J.HilkJ Offline
              J.HilkJ Offline
              J.Hilk
              Moderators
              wrote on last edited by J.Hilk
              #28

              @Mikeeeeee
              you're definitely using the wrong compiler there.
              AFAIK, there is no x86 compiler for iOS (accept for the iOS simulator)

              0_1558440947661_41a4a79c-d5fe-4a66-bb55-57ede37663f5-image.png


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

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

                Xcode creates projects and runs them in the simulator. How do I connect Apple Clang compiler and simulator from Xcode?

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

                  Can you show the compilers and Qt versions tab content.

                  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 Mikeeeeee

                    Xcode creates projects and runs them in the simulator. How do I connect Apple Clang compiler and simulator from Xcode?

                    L Offline
                    L Offline
                    Laszlo LG
                    wrote on last edited by
                    #31

                    I guess you can do this by selecting the device in Xcode - after connecting with USB. I think you haven't installed the iOS component of Qt properly. You can try to delete/reinstall Qt. Close QtCreator then start Qt/MaintenanceTool.app/Contents/MacOS/MaintenanceTool
                    Use "Add or remove components" then on the screen where you can select the components to install just ensure that iOS is enabled (and also the Android versions you want to use).

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

                      I installed everything. There is no iOS compiler.
                      0_1558514904667_1.png
                      0_1558514911399_2.png

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

                        Does the compiler for iOS come with Qt or need to be customized?

                        jsulmJ 1 Reply Last reply
                        0
                        • M Mikeeeeee

                          Does the compiler for iOS come with Qt or need to be customized?

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #34

                          @Mikeeeeee said in How to compile an iOS application in Qt?:

                          Does the compiler for iOS come with Qt or need to be customized?

                          No, it comes with XCode from Apple and there is no need to customise it.

                          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
                            #35

                            Looks like the compiler didn't tune in automatically. How to add a new compiler for iOS?

                            jsulmJ 1 Reply Last reply
                            0
                            • M Mikeeeeee

                              Looks like the compiler didn't tune in automatically. How to add a new compiler for iOS?

                              jsulmJ Offline
                              jsulmJ Offline
                              jsulm
                              Lifetime Qt Champion
                              wrote on last edited by
                              #36

                              @Mikeeeeee Are you sure your XCode is set up properly (meaning support for iOS development installed)?
                              Do you see "Apple Clang (arm64)" as compiler on the "Compilers" tab?

                              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
                                #37

                                I see that. Where is the "Compiler" tab ?
                                0_1558533081807_1.png

                                jsulmJ 1 Reply Last reply
                                0
                                • M Mikeeeeee

                                  I see that. Where is the "Compiler" tab ?
                                  0_1558533081807_1.png

                                  jsulmJ Offline
                                  jsulmJ Offline
                                  jsulm
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #38

                                  @Mikeeeeee I'm talking about Compile tab in QtCreator, not XCode.

                                  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
                                    #39

                                    I showed hfyttscreen compilers. I don't have an iOS compiler.

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

                                      Did you check your Xcode configuration to see if there's anything related to that ?

                                      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
                                        #41

                                        How to do this?

                                        jsulmJ 1 Reply Last reply
                                        0
                                        • M Mikeeeeee

                                          How to do this?

                                          jsulmJ Offline
                                          jsulmJ Offline
                                          jsulm
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #42

                                          @Mikeeeeee You can open XCode and create a default app for iOS and see whether you can build it. I already suggested this before.

                                          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