Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
6.6, 6.7
-
None
Description
Qt tools generates invalid file: qt_qml_element_01_qmltyperegistrations.cpp for the item/myitem.h (cpp)
The include section should be
#include "../../<go-to-project-root>/item/myitem.h"
But actual is
#include <myitem.h> // missing subfolder
Expected: include path should be relative to the generated cpp. It should be an easy fix, because tool knows both generated and header (with QML_ELEMENT) file path.
Attachments
Issue Links
- duplicates
-
QTBUG-114393 #include using angle-bracket when using QML_ELEMENT
-
- Reported
-