Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.0, 6.10.0 Beta1
-
None
Description
We have a project that shipping AOT compiled QML modules to the 3rd party developers, since some of the QML source files are not shipped and also stripped from the qrc, we need a full plugin.qmltypes file which contains not only the C++ but also the QML type information, in order the make the code-completion etc. work properly.
The qmlplugindump tool working great in Qt 5 is deprecated now, what's worse, it seems that the default QML plugin implementation provided by qt_add_qml_module() does not call the qmlRegister*() function templates to actively register the metatypes for the QML files, so that there's nothing the qmlplugindump can do either for the CMake generated plugins.
Will there be a successor to qmlplugindump?
If not, I hope qt_add_qml_module() would add a new option which forces CMake to generate a full plugin.qmltypes file containing type information for the QML files.