Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-21468

The QML Plugin wizard should enforce the first character to uppercase

    XMLWordPrintable

Details

    • All
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            martonmiklos Miklós Márton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes