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. CMake Project configuraton failed.
Forum Update on Monday, May 27th 2025

CMake Project configuraton failed.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
15 Posts 3 Posters 1.4k 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.
  • A Aswin_008

    Screenshot from 2023-09-19 19-39-33.png
    i'm new to qt , i've installed qt 6.5.2 on ubuntu 20.04, while in the starting itself to print an helloworld in c, i got "cmake configuration not found".

    anyone pls help.

    sierdzioS Offline
    sierdzioS Offline
    sierdzio
    Moderators
    wrote on last edited by
    #2

    @Aswin_008 See cmake output in "General Messages", it should tell you what is wrong.

    (Z(:^

    1 Reply Last reply
    1
    • A Offline
      A Offline
      Aswin_008
      wrote on last edited by
      #3

      ![alt text](27f0045c-711c-4c6e-bdd6-15cbd495d3d3-Screenshot from 2023-09-20 19-53-01.png e9126ea6-8e3e-45fa-9675-c6d95d059dd9-Screenshot from 2023-09-20 19-52-52.png image url)

      In general message ,it show likes this. but I've already installed my gcc and g++ compilers.

      jsulmJ sierdzioS 2 Replies Last reply
      0
      • A Aswin_008

        ![alt text](27f0045c-711c-4c6e-bdd6-15cbd495d3d3-Screenshot from 2023-09-20 19-53-01.png e9126ea6-8e3e-45fa-9675-c6d95d059dd9-Screenshot from 2023-09-20 19-52-52.png image url)

        In general message ,it show likes this. but I've already installed my gcc and g++ compilers.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #4

        @Aswin_008 Please show your compiler tab in your Kit configuration.
        Also, did you install build-essential package in your Ubuntu?

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

        1 Reply Last reply
        2
        • A Aswin_008

          ![alt text](27f0045c-711c-4c6e-bdd6-15cbd495d3d3-Screenshot from 2023-09-20 19-53-01.png e9126ea6-8e3e-45fa-9675-c6d95d059dd9-Screenshot from 2023-09-20 19-52-52.png image url)

          In general message ,it show likes this. but I've already installed my gcc and g++ compilers.

          sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #5

          @Aswin_008 as is missing... that is a very unusual error, I don't think I've ever seen it on a desktop machine. When cross-compiling, yes.

          Try running this in terminal: sudo apt install build-essential, hopefully it will fix the problem.

          (Z(:^

          A 1 Reply Last reply
          1
          • A Offline
            A Offline
            Aswin_008
            wrote on last edited by
            #6

            the compilers pages..(02bee6db-3237-495d-b802-76ef98fcaf6e-Screenshot from 2023-09-21 10-32-19.png

            1 Reply Last reply
            0
            • sierdzioS sierdzio

              @Aswin_008 as is missing... that is a very unusual error, I don't think I've ever seen it on a desktop machine. When cross-compiling, yes.

              Try running this in terminal: sudo apt install build-essential, hopefully it will fix the problem.

              A Offline
              A Offline
              Aswin_008
              wrote on last edited by
              #7

              @sierdzio 'build-essential' is already installed.

              jsulmJ 1 Reply Last reply
              0
              • A Aswin_008

                @sierdzio 'build-essential' is already installed.

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #8

                @Aswin_008 Please select the compiler you're using in "Compilers" and check whether there are any errors/warnings.

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

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  Aswin_008
                  wrote on last edited by
                  #9

                  there are no error in gcc,g++ compilers. they're working good. there's no error in the compilers page.ca0b31fd-171e-4991-9452-570a36cbfc97-Screenshot from 2023-09-21 11-23-26.png

                  jsulmJ 1 Reply Last reply
                  0
                  • A Aswin_008

                    there are no error in gcc,g++ compilers. they're working good. there's no error in the compilers page.ca0b31fd-171e-4991-9452-570a36cbfc97-Screenshot from 2023-09-21 11-23-26.png

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    @Aswin_008 Set the auto detected compiler

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

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      Aswin_008
                      wrote on last edited by
                      #11

                      Auto-detected compilers didn't show any details.00e84fec-921c-4880-9286-65fb3655505d-Screenshot from 2023-09-21 12-05-46.png

                      jsulmJ 1 Reply Last reply
                      0
                      • A Aswin_008

                        Auto-detected compilers didn't show any details.00e84fec-921c-4880-9286-65fb3655505d-Screenshot from 2023-09-21 12-05-46.png

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #12

                        @Aswin_008 I mean select the autodetected compiler in your Kit (so use the autodetected compiler, not the one you added manually).

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

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          Aswin_008
                          wrote on last edited by
                          #13

                          I'm unable to select the auto-detected compilers in the kit page.
                          59d8a59c-6758-4bb8-aa3e-052ffbd97891-Screenshot from 2023-09-21 14-06-55.png

                          It only shows the manually entered compilers.

                          jsulmJ 1 Reply Last reply
                          0
                          • A Aswin_008

                            I'm unable to select the auto-detected compilers in the kit page.
                            59d8a59c-6758-4bb8-aa3e-052ffbd97891-Screenshot from 2023-09-21 14-06-55.png

                            It only shows the manually entered compilers.

                            jsulmJ Offline
                            jsulmJ Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #14

                            @Aswin_008 Can you execute this command in a terminal and post the output?

                            as -v
                            

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

                            1 Reply Last reply
                            1
                            • A Offline
                              A Offline
                              Aswin_008
                              wrote on last edited by
                              #15

                              4b3f6e7f-0df2-4b4e-961f-92e32324394e-Screenshot from 2023-09-21 14-50-34.png

                              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