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. Qt Creator: Turn off "Add to project" for new files by default?
Qt 6.11 is out! See what's new in the release blog

Qt Creator: Turn off "Add to project" for new files by default?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 447 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
    Asperamanca
    wrote on last edited by
    #1

    Inside a cmake project, every time I add a new file using Qt Creator's context menu (Add new...), I have to manually select "Add to project" -> "None", and close the cmakelists.txt file that automatically opens.

    Is there an option to add new files to no project by default, and also not open the cmakelists.txt file?

    1 Reply Last reply
    0
    • cristian-adamC Online
      cristian-adamC Online
      cristian-adam
      wrote on last edited by
      #2

      Please do open a bug report. At https://www.qt.io/blog/qt-creator-14-cmake-update you can see at the end that if you are using a project using file(GLOB...) the CMakeLists.txt is not opened.

      But for regular projects ... that's not the case.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Asperamanca
        wrote on last edited by
        #3

        I guess using file(GLOB...) just to prevent the cmakelists.txt from opening is overkill :-)

        1 Reply Last reply
        1

        • Login

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