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. Opening the same CMakeLists.txt multiple times in separate Qt Creator instances
Qt 6.11 is out! See what's new in the release blog

Opening the same CMakeLists.txt multiple times in separate Qt Creator instances

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtcreator
3 Posts 2 Posters 876 Views 2 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.
  • D Offline
    D Offline
    deleted299
    wrote on last edited by
    #1

    Hello,

    using multiple kits (to specify different INITIAL CMake options and build folders) it is possible to open a CMakeLists.txt file in a single Qt Creator instance and build different projects (with different INITIAL CMake options) by switching between the kits.

    However I would prefer to be able to open the same CMakeLists.txt in multiple Qt Creator instances and use a single kit in each instance (with separate build folders of course).

    But it seems this is not possible because when opening CMakeLists.txt in the second Qt Creator instance then Qt Creator thinks the project was already created and reopens the same project that runs in the first instance (probably because there is already a CMakeLists.txt.user and some *.yml file).

    Is there a way to work in multiple Qt Creator instances on the same CMakeLists.txt file? I would assume this should be possible when using separate build folders but I see no way to do this.

    Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      AFAIK, there's no such feature.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        deleted299
        wrote on last edited by
        #3

        Too bad, it is very annoying to work in one instance and always have to switch between kits. Makes it quite uncomfortable to work on multiple projects in parallel.

        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