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

[SOLVED] how to change source tree structure in Qt Creator



  • I have Qt5 and its Creator installed. I want to change my source structure, for example, I want to put all .h and .cpp files into a src folder. I cannot find proper way to do this in creator. If I manually moved those files, Creator will not be able to locate them. Anybody can tell me how to do this or we cannot change it at all.


  • Moderators

    You need to move the files manually and then modify the .pro file to reflect the changes.


Log in to reply