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?
-
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?
-
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...)theCMakeLists.txtis not opened.But for regular projects ... that's not the case.
-
I guess using file(GLOB...) just to prevent the cmakelists.txt from opening is overkill :-)