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. Creator 4.4.1 on Mac 10.13 can't find Kits or Qt Versions

Creator 4.4.1 on Mac 10.13 can't find Kits or Qt Versions

Scheduled Pinned Locked Moved Solved Installation and Deployment
12 Posts 5 Posters 10.2k Views
  • 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.
  • S Offline
    S Offline
    SVanDee
    wrote on 11 Nov 2017, 13:54 last edited by
    #1

    I'm new to Qt and trying to get Creator open source version 4.4.1 running on a Mac with OSX 10.13.1 and Xcode 9.1. Qt Creator does start OK. The only thing listed under Welcome, Examples is a minibrowser. When I try to configure it, it says "No valid kits found" and directs me to Build & Run Options where there's nothing autodetected under Kits or Qt Versions. I don't understand how Qt works or where all the pieces should be well enough to tell it where to look manually. I'd appreciate help getting the Example working. Thanks.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 11 Nov 2017, 13:58 last edited by
      #2

      Hi
      You did download something like
      https://download.qt.io/archive/qt/5.9/5.9.2/qt-opensource-mac-x64-5.9.2.dmg

      Creator is just the editor. you need a Qt version to go with it.

      How did you install Qt and Creator ?

      1 Reply Last reply
      1
      • S Offline
        S Offline
        SVanDee
        wrote on 11 Nov 2017, 14:26 last edited by
        #3

        No, I started from "Download Qt 5.9" on https://www1.qt.io/developers/ which I thought meant it would download everything. I'm downloading Qt from your link now. Thanks for responding so quickly.

        M 1 Reply Last reply 11 Nov 2017, 14:31
        0
        • S SVanDee
          11 Nov 2017, 14:26

          No, I started from "Download Qt 5.9" on https://www1.qt.io/developers/ which I thought meant it would download everything. I'm downloading Qt from your link now. Thanks for responding so quickly.

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 11 Nov 2017, 14:31 last edited by
          #4

          @SVanDee
          Hmm that should have also given you the full install.
          Did you deselect stuff in the online installer ?

          If still no kits detected, the Xcode might be unexpected version.
          Im sadly not using MacOS so im not sure what version will just be detected.

          https://www.ics.com/blog/getting-started-qt-and-qt-creator-macos

          Can also be related to the SDK it seems
          https://forums.developer.apple.com/thread/88135

          1 Reply Last reply
          1
          • S Offline
            S Offline
            SVanDee
            wrote on 11 Nov 2017, 15:55 last edited by
            #5

            I downloaded and installed qt-opensource-mac-x64-5.9.2.dmg in its default ~/Qt5.9.2 directory. It included a copy of Creator so I started it. Welcome, Examples is entirely blank. In Finder, I can see ~/Qt5.9.2/Examples/ which contains Qt-5.9.2/example.pro and a /Speech subfolder . In Creator, I opened example.pro. The only entry in the Build drop-down list that wasn't grayed out was Build & Run Kit Selector so I selected it. It said the project wasn't configured yet so I clicked Projects Mode from which I eventually ended up in Preferences, Build & Run page which says it can't autodetect any Kits or Qt Versions.

            I started MaintenanceTool.app, selected "Add or remove components" and clicked Continue. The page didn't change. It displayed "At least one valid and enabled repository required for this action to succeed." in red. In Settings, Repositories, "Default Repositories" was selected so I clicked OK. The red message is still there and Continue is grayed out. I don't know where to go from here.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 11 Nov 2017, 16:25 last edited by
              #6

              Hi and welcome to devnet,

              Did you use the offline installer ?

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

              S 1 Reply Last reply 11 Nov 2017, 17:30
              0
              • S Offline
                S Offline
                SVanDee
                wrote on 11 Nov 2017, 17:20 last edited by
                #7

                I ran qt-opensource-mac-x64-5.9.2.dmg again and expanded the Qt components which I did not do before. I saw none of the components were selected by default except Speech. I selected macOS and IOS and some other components. Now I'm much further along. Kits and Versions in Creator, Build & Run Preferences are both populated and there are lots of Examples. When I select an example the Build & Kit Selector says the "Desktop Qt 5.9.2 clang 64 bit" kit is selected which sounds right. However, when I Run an example, it aborts immediately with "[main.o] Error 2] in the Issues tab. In the Compile Output window, I see that:

                • /Users/.../5.9.2/clang_64/bin/qmake exited normally
                • /usr/bin/make qmake_all said there was nothing to do and exited normally
                • /usr/bin/make started with a long list of parameters ending in
                  -F/Users/stephenvandellen/Qt5.9.2(2)/5.9.2/clang_64/lib -o main.o ../chartthemes/main.cpp
                  The next line, in red, says:
                  /bin/sh: -c: line 0: syntax error near unexpected token `('
                  (several more lines)
                  12:01:03: The process "/usr/bin/make" exited with code 2.
                  Error while building/deploying project chartthemes (kit: Desktop Qt 5.9.2 clang 64bit)
                  When executing step "Make"

                So there does seem to be some incompatibility with the Xcode 9.1 but it doesn't sound quite like https://forums.developer.apple.com/thread/88135 since my system isn't having any problem finding files. I've never used Xcode so it's going take some research to figure out what might be wrong. Thanks for the help getting this far. I'll upvote your answer but leave the thread open hoping to add the rest of the solution for anyone else who needs it.

                1 Reply Last reply
                0
                • S SGaist
                  11 Nov 2017, 16:25

                  Hi and welcome to devnet,

                  Did you use the offline installer ?

                  S Offline
                  S Offline
                  SVanDee
                  wrote on 11 Nov 2017, 17:30 last edited by SVanDee 11 Nov 2017, 17:31
                  #8

                  @SGaist I originally installed it:

                  • From https://www1.qt.io/developers/ I selected "Download Qt 5.9"
                  • From https://www1.qt.io/download/ I selected "Desktop and Mobile Applications"
                  • From https://www.qt.io/download-qt-for-application-development, I selected "Get your open source package"
                  • It downloaded qt-unified-mac-x64-3.0.1-online.dmg which then downloaded a bunch of stuff but the Creator couldn't find any Kits or Qt versions.

                  That's when I wrote the original post. Following mrjj's advice, I downloaded https://download.qt.io/archive/qt/5.9/5.9.2/qt-opensource-mac-x64-5.9.2.dmg which, after I figured out how to tell it to load the macOS components, gave me an installation with Kits and Qt Versions and lots of examples but which can't Build the examples as described above.

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SVanDee
                    wrote on 11 Nov 2017, 22:23 last edited by
                    #9

                    I intend to use Qt mainly from Python via PyQt. PyQt converts the .ui files Creator produces to Python modules so I guess I don't absolutely need to figure the Xcode interface out right now. I'd still like to be able to build and run Qt's examples but I'll mark this thread solved and wait for Qt to be updated to work with the more recent version of Xcode.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SVanDee
                      wrote on 11 Nov 2017, 23:42 last edited by
                      #10

                      I re-installed Qt from https://download.qt.io/archive/qt/5.9/5.9.2/qt-opensource-mac-x64-5.9.2.dmg. The same examples that crashed earlier are working now. I don't know what I did differently. Anyhow, there doesn't appear to be any Qt/Xcode interface problem after all.

                      T 1 Reply Last reply 23 Mar 2020, 20:22
                      0
                      • I Offline
                        I Offline
                        ishandutta2007
                        wrote on 2 Dec 2018, 00:54 last edited by
                        #11

                        Intially I had installed qt and qt creator separately using brew.
                        But Installing qt unified from here https://www.qt.io/download-open-source/
                        solved the issue. It willl help you to resolve version compatibility issued between qt and qt creator.

                        1 Reply Last reply
                        1
                        • S SVanDee
                          11 Nov 2017, 23:42

                          I re-installed Qt from https://download.qt.io/archive/qt/5.9/5.9.2/qt-opensource-mac-x64-5.9.2.dmg. The same examples that crashed earlier are working now. I don't know what I did differently. Anyhow, there doesn't appear to be any Qt/Xcode interface problem after all.

                          T Offline
                          T Offline
                          TiagoFilipeSousaGoncalves
                          wrote on 23 Mar 2020, 20:22 last edited by
                          #12

                          @SVanDee Indeed! Same on my macOS 10.13.6.

                          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