-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
Qt Creator 17.0.1
-
None
Hi.
in my project we generate source code files and also have a custom target "codegen" that generates some source code files in the build tree.
However:
- The "codegen" target is not visible by default unless "Hide Empty Directories" is deselected. This is non-obvious as this is a target, not a directory. All user-defined targets should be visible and not mixed with directories or automatically created targets (like e.g. the autogen targets).
- The user-defined targets have generated files attached as source files. However they are not visible unless "Hide Generated Files" is deselected. So I can only choose if I want to also browse the generated source code files and see useless things like .rule files and autogen stuff, OR not see any of this.
- When I select "Simplify Tree", I am greeted with a looooooooong list of CMakeLists.txt files. This is not a simplification, this is non-sense.
- I never heard about "disabled files", so this filter option is quite a mystery.
Additionally, QtCreator immediately sees that the generated files are created (font color changes from gray to black). However, I manually have to select Build->Rescan Project to fix the errors in other files referencing those generated files.