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

QDeclarativeEngine should enforce case sensitivity on component naming

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        1. app.qml
          0.2 kB
        2. Myelement.qml
          0.0 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: