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 ?
QtWS25 Last Chance

How to load and open CMake project in QtCreator ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 9.2k 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 Offline
    A Offline
    agatte
    wrote on 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
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on 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 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
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on 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
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on 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

            • Login

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