Details
-
Bug
-
Resolution: Won't Do
-
P2: Important
-
None
-
6.0.0 Alpha
-
None
Description
given the files: src/foo/bar.cpp,src/foo/bar.h} and an include path of -I src/ moc generates a moc_bar.cpp.json which has "inputFile": "bar.h".
This is then picked up by qmltyperegistrar.cpp which tries to generate a: #include <bar.h> while it should be: #include <foo/bar.h>
Attachments
Issue Links
- is duplicated by
-
QTBUG-101146 Compilation with QML_ELEMENT enabled class fails if it's in a subdirectory
- Closed
- relates to
-
QTBUG-93443 qmltyperegistrar generates .cpp files that need header search paths to be manually added
- Reported
For Gerrit Dashboard: QTBUG-87221 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
316493,1 | moc: Generate json file with full input file name | dev | qt/qtbase | Status: NEW | 0 | 0 |