How to create a folder or a subdirectory for a project in QtCreator? [duplicate]

一笑奈何 提交于 2020-01-13 09:37:26

问题


I want to create subdirectories and folders to organise my code in Qt.

I tried to manually create the directory in my shell / explorer, but Qt does not recognize it.


回答1:


Prior to QT Creator 3.1.x, you can right-click on your project -> "add new..." and change the path to the folder you want.

Be careful the folder must exist, Qt will not create it for you.

Qt takes care of the path in your .pro file.

That's it !



来源:https://stackoverflow.com/questions/24959959/how-to-create-a-folder-or-a-subdirectory-for-a-project-in-qtcreator

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