Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.5.1
-
Ubuntu 15.04
Description
qmlplugindump only generates information about QML components that exist as files. It does not generate type information for components embedded in Qt resource files and exposed in the qmldir via qrc urls.
For example, for the following qmldir file:
module com.mycompany.qmlcomponents
plugin QmlLib .
typeinfo plugins.qmltypes
MyQmlItem 1.0 MyQmlItem.qml
MyQmlQrcItem 1.0 qrc:/MyQmlQrcItem.qml
Type info would be generated for MyQmlItem but not MyQmlQrcItem. This basically breaks autocomplete in Qt Creator for this situation.
Please find a project that reproduces the issue attached.
Attachments
For Gerrit Dashboard: QTBUG-48809 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
261494,3 | Print a warning when encountering a non-relative URL in a qmldir file | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
281337,3 | Fix warning about non-relative paths in qmldir files | 5.14 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
290984,3 | Fix warning about non-relative paths in qmldir files | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |