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
Forum Updated to NodeBB v4.3 + New Features

Created new project, only seeing CMakeLists.txt file

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
7 Posts 5 Posters 498 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.
  • S Offline
    S Offline
    StuartH
    wrote on 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.

    jsulmJ 1 Reply Last reply
    0
    • S StuartH

      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.

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @StuartH Did you run cmake?

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

      1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher moved this topic from Installation and Deployment on
      • C Offline
        C Offline
        chefnevets
        wrote on 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.

        jsulmJ 1 Reply Last reply
        0
        • aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 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

            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.

            jsulmJ Online
            jsulmJ Online
            jsulm
            Lifetime Qt Champion
            wrote on 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 last edited by
              #6

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

              1 Reply Last reply
              0
              • B Offline
                B Offline
                BingBong68
                wrote on 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

                • Login

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