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.7k Views 2 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.
  • mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on 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 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.

      mrjjM 1 Reply Last reply
      0
      • S SVanDee

        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.

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on 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 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
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on 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
            0
            • S Offline
              S Offline
              SVanDee
              wrote on 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
              • SGaistS SGaist

                Hi and welcome to devnet,

                Did you use the offline installer ?

                S Offline
                S Offline
                SVanDee
                wrote on last edited by SVanDee
                #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 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 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
                    0
                    • I Offline
                      I Offline
                      ishandutta2007
                      wrote on 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

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