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 load and open CMake project in QtCreator ?
Forum Updated to NodeBB v4.3 + New Features

How to load and open CMake project in QtCreator ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 9.3k 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.
  • A Offline
    A Offline
    agatte
    wrote on 3 Jun 2019, 11:56 last edited by
    #1

    Hello,

    I have a project based on Qt and CMake and another libraries.
    I have already built and compiled project in CMake and gcc (I am working on KUbuntu).
    Then I want to load and open project in Qt Creator.
    How I could to that ?

    I would appreciate for any help please.

    1 Reply Last reply
    1
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 3 Jun 2019, 12:34 last edited by
      #2

      File->Open File or Project and select CMakeLists.txt file from your project's root directory.

      (Z(:^

      1 Reply Last reply
      3
      • A Offline
        A Offline
        agatte
        wrote on 4 Jun 2019, 10:17 last edited by
        #3

        I did that .. ! 0_1559643362865_Screenshot_20190604_121540.png
        I just open a CMakeList file ...
        What's about that I would like to load a project

        1 Reply Last reply
        1
        • V Offline
          V Offline
          VRonin
          wrote on 4 Jun 2019, 10:19 last edited by
          #4

          The big warning sign in the top left should give it away.
          There is something wrong in your kit configuration

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          1 Reply Last reply
          1
          • S Offline
            S Offline
            sierdzio
            Moderators
            wrote on 4 Jun 2019, 10:21 last edited by
            #5

            Check "General Messages" tab - it contains output of cmake run. If there are any errors in cmake code or configuration, they will be printed there (and project files won't load until there are no errors).

            Or, as @VRonin said, your kits might be misconfigured.

            (Z(:^

            1 Reply Last reply
            2

            1/5

            3 Jun 2019, 11:56

            • Login

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