An open API service indexing awesome lists of open source software.

https://github.com/machinekoder/qmlextensionbug

This project demonstrates a bug (or missing feature) of Qt Creator for QML Extensions
https://github.com/machinekoder/qmlextensionbug

Last synced: 5 months ago
JSON representation

This project demonstrates a bug (or missing feature) of Qt Creator for QML Extensions

Awesome Lists containing this project

README

          

This project demonstrates a bug (or missing feature) with Qt Creator and QML extensions. It is a slightly modified version
of the Qt Quick 2 Extension template from Qt Creator 3.1

Reproduce
~~~~~~~~~
Open the moduletest project with Qt Creator and compile it in Release mode. Then go to the build folder and run
----
make install
----
This will install a new QML extension to your Qt version. Then create navigate to the installed directory (/qml/com/mycompany/qmlcomponents/)
and create a plugins.qmltypes file with the following command:
----
qmlplugindump com.mycompany.qmlcomponents 1.0 > plugins.qmltypes
----
Then open the qmlproject qmltest and wait until Qt Creator
has resolved all imports.

Expected behavior
~~~~~~~~~~~~~~~~~
Imports work as expected and are recognized. Qt Quick Designer shows the imported visual items.

Actual behavior
~~~~~~~~~~~~~~~
Imports from C++ plugins are recognized correctly. Imports from QML files are not recognized. Qt Quick Designer
shows no visual items from plugins at all.

Links
~~~~~
https://bugreports.qt-project.org/browse/QTCREATORBUG-12089 +
https://bugreports.qt-project.org/browse/QTCREATORBUG-12090 +
http://qt-project.org/forums/viewthread/41611/