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. CMake Tool is unconfigured. CMake generator will be ignored.
Forum Updated to NodeBB v4.3 + New Features

CMake Tool is unconfigured. CMake generator will be ignored.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
10 Posts 4 Posters 2.1k 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.
  • 8 Offline
    8 Offline
    8Observer8
    wrote on 16 Apr 2024, 14:45 last edited by
    #1

    I installed Qt 6.6.3 because release Qt 6.7.0 require both NDKs for Android:

    NDK 25.1.8937393 - 1.36 GB
    NDK 26.1.10909125 - 1.95 GB
    

    But Qt 6.6.3 requires only the first one (Qt 6.7.0 beta)

    But I have this warning: CMake Tool is unconfigured. CMake generator will be ignored.

    CMake is in the Path: 8622609e-7cda-4aa8-9b21-918ffc0c3d43-image.png

    It was installed:

    b76a6633-0a8c-446f-b14e-72ff21fe7493-image.png

    CMake was detected:

    b88fd384-c242-4713-b396-b65579c9bb73-image.png

    How to solve it?

    a38a2809-c3a4-43a6-b852-3f7dc011eaf0-image.png

    C 1 Reply Last reply 16 Apr 2024, 14:50
    0
    • 8 8Observer8
      16 Apr 2024, 14:45

      I installed Qt 6.6.3 because release Qt 6.7.0 require both NDKs for Android:

      NDK 25.1.8937393 - 1.36 GB
      NDK 26.1.10909125 - 1.95 GB
      

      But Qt 6.6.3 requires only the first one (Qt 6.7.0 beta)

      But I have this warning: CMake Tool is unconfigured. CMake generator will be ignored.

      CMake is in the Path: 8622609e-7cda-4aa8-9b21-918ffc0c3d43-image.png

      It was installed:

      b76a6633-0a8c-446f-b14e-72ff21fe7493-image.png

      CMake was detected:

      b88fd384-c242-4713-b396-b65579c9bb73-image.png

      How to solve it?

      a38a2809-c3a4-43a6-b852-3f7dc011eaf0-image.png

      C Offline
      C Offline
      cristian-adam
      wrote on 16 Apr 2024, 14:50 last edited by
      #2

      Can you run C:\Qt\Tools\CMake_64\bin\cmake.exe --version?

      Try to register a manual CMake tool and set that as default.

      8 2 Replies Last reply 16 Apr 2024, 16:47
      1
      • C cristian-adam
        16 Apr 2024, 14:50

        Can you run C:\Qt\Tools\CMake_64\bin\cmake.exe --version?

        Try to register a manual CMake tool and set that as default.

        8 Offline
        8 Offline
        8Observer8
        wrote on 16 Apr 2024, 16:47 last edited by 8Observer8
        #3

        C:\Qt\Tools\CMake_64\bin\cmake.exe --version
        cmake version 3.27.7 CMake suite maintained and supported by Kitware (kitware.com/cmake).

        @cristian-adam said in CMake Tool is unconfigured. CMake generator will be ignored.:

        Try to register a manual CMake tool and set that as default.

        995a126f-60ad-4edf-9a6c-9c9216fa9ddd-image.png

        I restarted Qt Creator. It works! Thank you very much!

        26a16602-6263-426e-a462-c0cf3c89383f-image.png

        1 Reply Last reply
        1
        • 8 8Observer8 has marked this topic as solved on 16 Apr 2024, 16:47
        • G Offline
          G Offline
          Gregory Gurmatroyid
          wrote on 16 Jul 2024, 13:47 last edited by
          #4

          This really should be in the documentation.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            cristian-adam
            wrote on 16 Jul 2024, 18:42 last edited by
            #5

            This relates to https://forum.qt.io/topic/157668/qt-creator-can-not-parse-cmake-version-after-update-from-qt-6-5-3-to-qt-6-7-2

            I would like to know what's going on. If you stumble upon this, please do look at the debuggers.xml and paste here the content.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              Jack Longbow
              wrote on 31 Oct 2024, 06:41 last edited by
              #6

              I had the same problem on my mac

              8 1 Reply Last reply 3 Nov 2024, 18:44
              0
              • J Jack Longbow
                31 Oct 2024, 06:41

                I had the same problem on my mac

                8 Offline
                8 Offline
                8Observer8
                wrote on 3 Nov 2024, 18:44 last edited by 8Observer8 11 Mar 2024, 18:53
                #7

                @Jack-Longbow I solved the problem by deleting Python but it will be added after the Qt Creator restart. I delete it every time when I start Qt Creator 13.0.0:

                c24f31f1-46a2-431d-8a77-a4f1ef8f2e82-image.png

                I've tested it a lot of time. For example, I run Qt Creator, open some CMake project. I don't see the main.cpp file:

                8f5ee720-73ef-4b8e-9d59-78d06c10ab4b-image.png

                I see a problem in the Issue window:

                210b1dd4-1f6d-4b99-ae08-0b596f8ffeda-image.png

                I see the problem:

                22cf71aa-0fba-467e-80b1-e1e3c8ef4f21-image.png

                I delete Python:

                2aa49bf9-3423-4f37-af25-8e69cc7d4cba-image.png

                And I restart Qt Creator. It works:

                d5ab67b5-66c4-40b6-b793-bf64add9717e-image.png

                1 Reply Last reply
                0
                • 8 Offline
                  8 Offline
                  8Observer8
                  wrote on 13 Dec 2024, 21:54 last edited by 8Observer8
                  #8

                  I see this problem every time when I start Qt Creator 15.0.0 on Windows for Non-Qt projects in plain C++. And every time I should make the same steps:

                  • Delete the autodetected Python 3.12 from the settings like in the message above
                  • Close Qt Creator
                  • Delete CMakeLists.txt.user and the build folder
                  • Start Qt Creator
                  • Open the C++ project again
                  1 Reply Last reply
                  0
                  • 8 8Observer8 has marked this topic as unsolved on 13 Dec 2024, 21:59
                  • C Offline
                    C Offline
                    cristian-adam
                    wrote on 14 Dec 2024, 07:47 last edited by
                    #9

                    I haven't seen this in practice. Please do open a bug report at https://bugreports.qt.io/secure/CreateIssue.jspa?pid=10512

                    I do have Python on my Windows machine, it's autodetected, but makes no issues:

                    $ where python
                    C:\Users\Cristian Adam\AppData\Local\Programs\Python\Python312-arm64\python.exe
                    C:\Users\Cristian Adam\AppData\Local\Microsoft\WindowsApps\python.exe
                    

                    If you don't need Python, you could disable the Python plugin. You could have a Qt Creator shortcut that does the equivalent of:

                    $ qtcreator -noload Python
                    
                    1 Reply Last reply
                    1
                    • C cristian-adam
                      16 Apr 2024, 14:50

                      Can you run C:\Qt\Tools\CMake_64\bin\cmake.exe --version?

                      Try to register a manual CMake tool and set that as default.

                      8 Offline
                      8 Offline
                      8Observer8
                      wrote on 28 Dec 2024, 13:48 last edited by
                      #10

                      @cristian-adam said in CMake Tool is unconfigured. CMake generator will be ignored.:

                      Try to register a manual CMake tool and set that as default.

                      Sometimes this helps.

                      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