Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 6.0.2, Qt Creator 7.0.1
-
None
Description
The problem I have is that headers that are not added via add_library add_executable and add_source are not displayed in the project navigation view. This is unexpected behaviour since from the programmers mental model they are part of the project. As far as i know consensus in cmake projects is using include_directory or target_include_directory to specify headers rather than listing as part of the source file list.
I know this was introduced in version 6.0. As discribed here:
https://www.qt.io/blog/qt-creator-6-cmake-update
I see the point made in the post but it makes it hard to work on projects that donĀ“t use the 'qt-style' of managing headers.
It would be nice if qtcreator could display the headers that are added by include_directory and target_include_directory.