Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-11253

Doc: Indicate on QML Documents page that .qml component files must start with an uppercase character

    XMLWordPrintable

Details

    Description

      If the designer has a custom object called MyThing{}, the file MyThing.qml must start with an uppercase letter (as indicated in http://doc.qt.nokia.com/4.7-snapshot/qml-extending-types.html#defining-new-components)

      This information should be more visible, particularly as on Windows the file case does not matter - that is, a designer can create a complete UI on Windows only to find that it does not work on Linux due to mismatched case. Furthermore, it should be noted that filesystem rules apply to the naming.

      i.e.
      MyThing.qml
      On Windows - Mything {}, MyThInG {}, all work as fs is case insensitive
      On Linux - MyThing {} will work, Mything {} will not

      Attachments

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

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            dajansen Damian Jansen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes