Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
6.3.0 Beta2
-
None
Description
Using the following simple layout without adding foo to the target_include_directories
allinclusive ├── CMakeLists.txt ├── foo │ ├── person.cpp │ └── person.h ├── main.cpp └── main.qml
compiles into
/home/cajus/tmp/allinclusive/build/appinherit_qmltyperegistrations.cpp:10:10: fatal error: person.h: No such file or directory 10 | #include <person.h> | ^~~~~~~~~~ compilation terminated.
. This feels a bit unexpected and requires adding many additional includes in bigger projects - which may lead conflicts.
Attachments
Issue Links
- duplicates
-
QTBUG-87221 Qt6's *_qmltyperegistrations.cpp generation breaks when using includes with folder names
- Closed