Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator - cannot add build kit
Forum Updated to NodeBB v4.3 + New Features

QtCreator - cannot add build kit

Scheduled Pinned Locked Moved Qt Creator and other tools
25 Posts 4 Posters 11.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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #11

    Did you also install the command line tools from 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
    • J Offline
      J Offline
      jeroen.dierckx
      wrote on last edited by
      #12

      yes, Preferences > Locations > Command Line Tools: Xcode 5.1 (5B130a)

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

        What version of Qt Creator are you having ?

        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
        • J Offline
          J Offline
          jeroen.dierckx
          wrote on last edited by
          #14

          Qt Creator 3.0.1

          Based on Qt 5.2.1 (Clang 5.0 (Apple), 64 bit)

          Built on Jan 31 2014 at 06:00:56

          From revision 51af63bb9e

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

            Strange, everything looks fine. Can you check the state of the iOS plugin ?

            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
            • J Offline
              J Offline
              jeroen.dierckx
              wrote on last edited by
              #16

              1/
              Current state: (green) Ready to use

              on both iphonesimulator and iphoneos when iphone is connected of course

              i also installed Kenneth Reitz's osx-gcc (https://github.com/kennethreitz/osx-gcc-installer/) but that didn't help.

              2/
              could it have something to do with Qt Creator/Qt licenses?

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

                Do you have a compiler setup for arm in the Compilers panel ?

                2/ AFAIK, no

                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
                  mnikkane
                  wrote on last edited by
                  #18

                  Same issue here. iphoneos kit is automatically set when you create an example application, but not available (disabled) when you create new QtQuick 2.0 project.

                  Qt Creator 3.0.1
                  Based on Qt 5.2.1 (Clang 5.0 (Apple), 64 bit)

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    jeroen.dierckx
                    wrote on last edited by
                    #19

                    pfff, getting really frustrated; i thought some conflicting and badly administrated installs led up to this issue, so i re-installed my whole system (OS X Mavericks).
                    I needed Qt4 for current projects, so installed that with MacPorts, then installed Qt5.2.1 and Qt Creator using the Online Installer.

                    The exact same problem remains; i cannot add build kits to my project, the message "Device type is not desktop." shows when i hover both "iphoneos-clang Qt 5.2.1 for iOS" and "iphonesimulator Qt 5.2.1 for iOS" in the "Add Kit" dropdown, the options remain grey and unselectable.

                    To answer your latest question SGaist: Yes, in the compilers tab, i can see iphoneos-clang with Platform codegen flags "-arch armv7".
                    Would you like to see screenshots? I can provide them, just name the windows and tabs ... Thanks in advance, and thanks for the patience and guidance so far.

                    1 Reply Last reply
                    0
                    • F Offline
                      F Offline
                      fawzi
                      wrote on last edited by
                      #20

                      In QtCreator 3.0.1 the iOS plugin was still experimental, and was (in theory) activated for the creator iOS SDK.
                      Any other creator will have it disabled unless you enable it from in Qt Creator > About Plugins...

                      The problems described here look like not having the plugin enabled, and so not recognising the correct type of the device, and being able to use the kit.

                      If the iOS plugin is enabled you should see iOS pane in the preferences (or in the plugins).

                      1 Reply Last reply
                      0
                      • J Offline
                        J Offline
                        jeroen.dierckx
                        wrote on last edited by
                        #21

                        Thank you for your input fawzi.
                        It confuses me though, what do you mean by "the creator iOS SDK"?

                        I do see an iOS item in the preferences, it only has one checkbox "Ask about devices not in developer mode", which doesn't change my problem.

                        In Plugins i see "Ios" under Device Support, with a checked checkbox and green checkmark in front ...

                        Anyway, i downloaded Qt Creator 3.1, the problem remains exactly the same.

                        1 Reply Last reply
                        0
                        • F Offline
                          F Offline
                          fawzi
                          wrote on last edited by
                          #22

                          Sorry I cannot reproduce your issue.
                          You might want to zip your preferences (~/.config/QtProject/qtcreator for the global ones, and *.pro.user for the project specific ones) and remove them to see if they are somehow corrupted (if that is the case please upload a copy of them so we can try to reproduce the problem)

                          In theory it should work like this:

                          • In Preferences>Build&Run>Qt versions you should have one or more Qt versions that are detected as "Qt 5.X.X for iOS" (when selecting them).

                          • You can remove and manually add as many Qt as you want (just select the qmake of the correct Qt

                          • after you apply the changes (or after closing) for each of these iOS Qt two kits should be generated iphone-* and iphonesimulator-* to build for a device or for the simulator.
                            These devices should be ready to work, but you might clone them and change all parameters as you wish, or create a kit from scratch and set the correct Qt and device, sysroot,...

                          Once the kits are set up you should be able to use them.
                          (they should be 'black' in build & run).
                          I hope this can help you to successfully set it up, and if you manage it it would be good to know why the automatic setup failed giving you such a bad experience...

                          1 Reply Last reply
                          0
                          • J Offline
                            J Offline
                            jeroen.dierckx
                            wrote on last edited by
                            #23

                            Hmm, interesting, i had no project specific config (.pro) file like the examples did, only a .qmlproject file. Then i realised i didn't remember how i created the project in the first place ....

                            So i started a new project with template Applications > Qt Quick Application , and in that wizard i could select the Kits.

                            The app is not working in the simulator at the moment, but at least i can start it, so i suspect the problem's in the code now.

                            To conclude, i guess i created the project in a way that prevented iOS support (?) It's still very confusing, but at least i'm making progress again.

                            Thanks for you support and patience.

                            1 Reply Last reply
                            0
                            • F Offline
                              F Offline
                              fawzi
                              wrote on last edited by
                              #24

                              Ohh qmlproject project, that is a project that is just qml and call qmlview to execute it, but this approach cannot be used on a device like iOS as you always have to ship a full application, not documents+application that executes them.
                              We should maybe explain that somewhere, I din't even think that you had such a project.
                              We could actually support a qmlproject by generating an app behind the scenes, worth a thought for next release...

                              1 Reply Last reply
                              0
                              • J Offline
                                J Offline
                                jeroen.dierckx
                                wrote on last edited by
                                #25

                                yeah, way to make me feel stupid! :p just kidding

                                glad i can move on now

                                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