Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to start a CMake project in QtCreator
Forum Updated to NodeBB v4.3 + New Features

How to start a CMake project in QtCreator

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 1.7k 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.
  • H Offline
    H Offline
    Hareen Laks
    wrote on last edited by
    #1

    Dear all,

    I would like to get the experience with CMake. Currently I'm working on windows with QtCreator 2.4.1 based on Qt 4.7.4.

    How should I start the CMake project?

    Thanks for reading.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Go to Qt Creator -> New file or project -> Non-Qt project -> Plain C++ project (CMake based)

      (Z(:^

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Hareen Laks
        wrote on last edited by
        #3

        sierdzio,

        I tried to do that but there is no 'Non-Qt project' option. Then I select 'Other Project' option and under that 'Plain C++ project ' exists. But it says "Create a plain C++ Project using qmake".

        I searched it and found "this link":https://qt-project.org/doc/qtcreator-2.7/creator-project-cmake.html. I set the path to CMake but nothing happens.

        Can you help me?

        Thanks for replying. :)

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andreyc
          wrote on last edited by
          #4

          I guess is that QtCreator 2.4.1 is too old. I could not find docs for 2.4.1 the earliest is for 2.5 and you found a link for 2.7
          Can you switch to the latest 3.1.2.

          "Here":http://qt-project.org/doc/qtcreator-2.5/creator-project-creating.html is how-to create a project in 2.5

          1 Reply Last reply
          0
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            I see. I somehow didn't notice you were using such an old version of Qt Creator. Please update immediately.

            (Z(:^

            1 Reply Last reply
            0
            • H Offline
              H Offline
              Hareen Laks
              wrote on last edited by
              #6

              @ andreyc, sierdzio

              Many thanks for both of you. I'll update QtCreator.

              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