Opening Qt Project After Relocating It

故事扮演 提交于 2020-04-16 02:32:50

问题


I created a C++ Qt Creator CMake project. It worked perfectly when I loaded in to the program. However, when I copy pasted the project into another folder, it doesn't open in the Qt creator application anymore.

Instead of a Qt project, it just opens as a normal folder with CMakeLists.txt only while all other files are added separately. Is there no way I can copy the program as it is?


回答1:


Remove CMakeLists.txt.user when copying it to another folder. Then QtCreator will not open the old settings and creates a new build tree.



来源:https://stackoverflow.com/questions/60756785/opening-qt-project-after-relocating-it

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!