Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.6.2
-
-
906b7fd78712bd67dfaab798bde85b932460a058
Description
I think when creating a new QML plugin with the wizard it would be useful to enforce that the generated QML exposed class module identifier's first letter should be uppercase. Otherwise the users could easily ran into this trouble:
https://forum.qt.io/topic/91989/qmlregistertype-dont-recogized-into-qml-file/4
I know that technically it is possible to use a lowercase starting C++ class name and exporting it with a name starting with uppercase. If this should be supported then I would recommend to modify the template to change the case only in the module identified field.