Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt Creator project organization



  • Hello,

    I'm currently in the process of trying Qt Creator with cmake but I'm confused about the organization of the projects.

    Is there no way to have an organization like on vscode, Clion etc?

    With the "File System" mode it looks a bit like but impossible to delete a folder, impossible to easily switch files between different folders etc. How is it possible to manage large projects? A project created progressively only with the "Projects" tab will be unreadable on another idle.

    I tried to search for plugins but I can't find anything. All the videos I watch only use the "Projects" tab but I don't see how they can switch the code to git or use another idle on the same project without having to maintain the project organization twice.

    I specify again that I use Cmake and not qmake.
    Thanks



  • Say I create a folder with files and later decide to split it into 2 or more folders.
    On other idles, it is easy to reorganize the files but it is not possible through Qtcreator.
    In the "file system" tab it is impossible to move files or delete folders.

    I try to be able to handle the folders/files like on other idle.


  • Lifetime Qt Champion

    @ticds said in Qt Creator project organization:

    How is it possible to manage large projects?

    By editing CMakeLists.txt files.
    "A project created progressively only with the "Projects" tab will be unreadable on another idle" - how so? If you use CMake your project will work with any IDE which supports CMake.
    "without having to maintain the project organization twice" - I really don't understand the problem! You're using CMake, so there is no need to maintain anything twice! I think you're confusing CMake with how an IDE presents the project in its UI.



  • Say I create a folder with files and later decide to split it into 2 or more folders.
    On other idles, it is easy to reorganize the files but it is not possible through Qtcreator.
    In the "file system" tab it is impossible to move files or delete folders.

    I try to be able to handle the folders/files like on other idle.


  • Lifetime Qt Champion

    @ticds Yes, in QtCreator you can't do that. As I said you will have to do it manually in a file manager or terminal and adjust CMake files accordingly.



  • Ok thank you, that was what I wanted to know.
    Is there a specific reason for not offering this feature?


  • Lifetime Qt Champion

    @ticds I don't know. You can ask on Qt developers mailing list.



  • OK thanks


Log in to reply