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

Cannot create cmake project

Scheduled Pinned Locked Moved Qt Creator and other tools
10 Posts 2 Posters 2.9k 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.
  • N Offline
    N Offline
    netheril96
    wrote on last edited by
    #1

    Here is a screenshot

    https://i.imgur.com/4z2Zzq6.png

    The cmake executable is not marked red, and it can be invoked from the command line, yet the wizard does not let me continue, without any error message indicating what goes wrong.

    What is the problem and how to fix it?

    1 Reply Last reply
    0
    • N Offline
      N Offline
      ningen
      wrote on last edited by
      #2

      You can set the path for the CMake executable in Tools > Options > Build & Run > CMake.
      ( more info: https://qt-project.org/doc/qtcreator-2.8/creator-project-cmake.html )

      Then Create project: Ctrl+N - Project Without Qt - Empty Project C++ (Cmake build) - Next - Next - Next
      And it's working for me.

      1 Reply Last reply
      0
      • N Offline
        N Offline
        netheril96
        wrote on last edited by
        #3

        I already set that. It doesn't work.

        [quote author="ningen" date="1415344017"]You can set the path for the CMake executable in Tools > Options > Build & Run > CMake.
        (more info: https://qt-project.org/doc/qtcreator-2.8/creator-project-cmake.html)

        Then Create project: Ctrl+N - Project Without Qt - Empty Project C++ (Cmake build) - Next - Next - Next
        And it's working for me. [/quote]

        1 Reply Last reply
        0
        • N Offline
          N Offline
          ningen
          wrote on last edited by
          #4

          How do you get your Cmake Wizard window (see screenshot) ? I do not find it.

          1 Reply Last reply
          0
          • N Offline
            N Offline
            ningen
            wrote on last edited by
            #5

            What is qt creator version are you using?

            1 Reply Last reply
            0
            • N Offline
              N Offline
              netheril96
              wrote on last edited by
              #6

              [quote author="ningen" date="1415344485"]How do you get your Cmake Wizard window (see screenshot) ? I do not find it.[/quote]

              Just open with Qt Creator a CMakeLists.txt file.

              1 Reply Last reply
              0
              • N Offline
                N Offline
                netheril96
                wrote on last edited by
                #7

                [quote author="ningen" date="1415344682"]What is qt creator version are you using?[/quote]

                Qt Creator 2.8.1 (Qt 5.0.2)

                The one that comes with Ubuntu 12.04.

                1 Reply Last reply
                0
                • N Offline
                  N Offline
                  ningen
                  wrote on last edited by
                  #8

                  Try to test Hello world project.
                  Ctrl+N – Project Without Qt – Empty Project C++ (Cmake build)
                  My version is 3.2.0

                  1 Reply Last reply
                  0
                  • N Offline
                    N Offline
                    netheril96
                    wrote on last edited by
                    #9

                    [quote author="ningen" date="1415344944"]Try to test Hello world project.
                    Ctrl+N – Project Without Qt – Empty Project C++ (Cmake build)
                    My version is 3.2.0[/quote]

                    It works, but I need a project out of existing CMakeLists.txt file. I want the Qt Creator to automatically infer the build settings from it.

                    1 Reply Last reply
                    0
                    • N Offline
                      N Offline
                      ningen
                      wrote on last edited by
                      #10

                      Try to open CMakeLists.txt (Hello world project) with qt creator. If it works too, check your first CMakeLists.txt format.

                      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