PDA

View Full Version : Qt Creator Source Group



meysam_hashemi
11th December 2017, 04:51
Greeting

I used to use "Qt" inside "Visual Studio" but i decided to try "Qt Creator" on my new project. I see something that bother me a lot and i couldn't find a way to fix it.
when i add existing directory to project in "Qt Creator", Source files move under "Sources" directory and header files move under "Headers" automatically and pro file update as well. The thing is, I don't want to see source file and header files in different directory in "Project Window" and i like to see them in same directory.

12720

Like "source_group" in "CMakeLists" file.

Can you tell me how can i do that?

Thanks in advance

Santosh Reddy
11th December 2017, 08:45
In Title Bar of Left Side Bar (where you see the projects / files list), you should see a filter icon, check "Simplify Tree" option in it.
12721

meysam_hashemi
11th December 2017, 09:36
In Title Bar of Left Side Bar (where you see the projects / files list), you should see a filter icon, check "Simplify Tree" option in it.
12721

thanks for reply but its not what i'm looking for. With "Simplify Tree" i see all the source and header files under project name, No directory included.