Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 4.12.4, Qt Creator 4.13.0-beta2
-
2f320436d (14.0), 604dfa57e (14.0), 26dcf27f4 (14.0)
Description
When using QML_ELEMENT inside a QObject subclass with CONFIG += qmltypes then it will not be able to open the qml in design mode. If an explicit qmlRegisterType() is added then it will open fine, but it does not work without it.
Also that Qt Creator cannot recognize the module
.qmltypes file exists in the build directory but adding QML_IMPORT_PATH += /path/to/.qmltypes file location (both absolute and relative path) doesn't help to remove the error message.
Attachments
Issue Links
- relates to
-
QTBUG-87117 plugins.qmltypes incorrectly generated due to foreign types path
- Closed
-
QTCREATORBUG-24987 Editor shows Qml Module not found when using the new QML_ELEMENT registration
- Closed
- resulted in
-
QTCREATORBUG-31582 Qt Creator 14.0.2.185 very slow at end of build process
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTCREATORBUG-24428 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
584328,4 | Reset qml code model after build | 14.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
584331,4 | restart qmlls after a build | 14.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |