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

QDeclarativeEngine should enforce case sensitivity on component naming

XMLWordPrintable

      Run attached example by calling "qmlviewer app.qml". On Unix the execution fails on an error

      file:///../app.qml:8:9: MyElement is not a type
                   MyElement {
                   ^
      

      due to MyElement being written in a file called Myelement.qml. The same code runs fine on Windows and Symbian, where the file system is case insensitive. While this is a small issue, these kind of small differences, "paper cuts", make maintaining cross-platform code tedious and error-prone.

        1. app.qml
          0.2 kB
        2. Myelement.qml
          0.0 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            aakenned Aaron Kennedy
            jpetrell Joona Petrell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes