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. Created new project, only seeing CMakeLists.txt file
QtWS25 Last Chance

Created new project, only seeing CMakeLists.txt file

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
7 Posts 5 Posters 193 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
    StuartH
    wrote on 17 Mar 2025, 11:34 last edited by
    #1

    I've a new install of Qt Creator on Windows. After creating a project all I see listed is the CMakeLists.txt file, and I cannot run the project.

    Project type: Qt Widgets Application
    Build system: CMake for Qt 6.5 and Later
    Qt version: 6.8.2

    At this point I only see the CMakeLists.txt file listed, and I'm unable to build the project.

    91b5c9df-f82d-4f5a-b18b-2f8a64f30101-image.png

    The projects page shows to suitable kits found.

    94d24cf7-3b32-4ab2-9948-9a3f16fc0dbe-image.png

    The link says to add a kit in the options or via the maintenance tool of the SDK, but I'm unsure how to do this. The Kits tab shows a number of kits detected but I cannot select these and therefore cannot build the project.

    ecf35cd7-5803-4287-a60a-668434453c82-image.png

    Any help would be much appreciated.

    J 1 Reply Last reply 17 Mar 2025, 12:41
    0
    • S StuartH
      17 Mar 2025, 11:34

      I've a new install of Qt Creator on Windows. After creating a project all I see listed is the CMakeLists.txt file, and I cannot run the project.

      Project type: Qt Widgets Application
      Build system: CMake for Qt 6.5 and Later
      Qt version: 6.8.2

      At this point I only see the CMakeLists.txt file listed, and I'm unable to build the project.

      91b5c9df-f82d-4f5a-b18b-2f8a64f30101-image.png

      The projects page shows to suitable kits found.

      94d24cf7-3b32-4ab2-9948-9a3f16fc0dbe-image.png

      The link says to add a kit in the options or via the maintenance tool of the SDK, but I'm unsure how to do this. The Kits tab shows a number of kits detected but I cannot select these and therefore cannot build the project.

      ecf35cd7-5803-4287-a60a-668434453c82-image.png

      Any help would be much appreciated.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 17 Mar 2025, 12:41 last edited by
      #2

      @StuartH Did you run cmake?

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

      1 Reply Last reply
      1
      • C Christian Ehrlicher moved this topic from Installation and Deployment on 17 Mar 2025, 13:01
      • C Offline
        C Offline
        chefnevets
        wrote on 19 Mar 2025, 00:36 last edited by
        #3

        I'm also having the same problem. @jsulm , it won't let me run cmake. I have even followed along with the tutorial and still have the same issue. Using Debian12.

        J 1 Reply Last reply 19 Mar 2025, 06:54
        0
        • A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 19 Mar 2025, 06:38 last edited by
          #4

          @chefnevets do you have any warnings in the Compile Output or the General Messages pane?

          Qt has to stay free or it will die.

          1 Reply Last reply
          0
          • C chefnevets
            19 Mar 2025, 00:36

            I'm also having the same problem. @jsulm , it won't let me run cmake. I have even followed along with the tutorial and still have the same issue. Using Debian12.

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 19 Mar 2025, 06:54 last edited by
            #5

            @chefnevets Do you have a valid Qt Kit in QtCreator?

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

            1 Reply Last reply
            0
            • C Offline
              C Offline
              chefnevets
              wrote on 19 Mar 2025, 18:35 last edited by
              #6

              @aha_1980 ...no
              @jsulm ...I'll see.

              1 Reply Last reply
              0
              • B Offline
                B Offline
                BingBong68
                wrote on 19 Mar 2025, 22:31 last edited by
                #7

                I was able to resolve this issue by adding CMake to the PATH (I'm on Windows), I could then update the Kits configuration to include CMake, and the project could then be built. I ran through the installation/getting started tutorial and that was not mentioned.

                1 Reply Last reply
                0

                2/7

                17 Mar 2025, 12:41

                topic:navigator.unread, 5
                • Login

                • Login or register to search.
                2 out of 7
                • First post
                  2/7
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved