qt - How to create a subdirectory for a project QtCreator? -
I would like to divide my QT project into several directories because it is growing very large. However, when I click on browse in QT creator, then there is no 'Add any directory' and there is no such thing in 'Add New'. Can it be done in any way?
You can use a method to add a project that contains files for each sub directory .
Qt creators have displayed them in the GUI in nested fashion, and you allow them to add files.
For example
include project.pro
include (folder1 / include.pri)
In folder1 / include.pri
HEADERS + = MyClass.h source = + = MyClass.cpp
etc.
Comments
Post a Comment