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

QML files not being read when they have 'byte order mark'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P0: Blocker
    • None
    • 5.3.0 Alpha, 5.3.0 Beta1
    • None
    • OS X 10.9
      Qt Creator 3.0.82 (opensource)
      Qt 5.3 beta (qt-opensource-mac-x64-clang-5.3.0-beta.dmg)

    Description

      In Qt 5.2 I had no problem with this.

      I was using the source code on Windows (inside a VM) with Qt 5.2, then I started to use the same code on OS X (main OS) with 5.2 and everything was ok.

      When I installed Qt 5.3 Alpha I had this issue:
      QQmlApplicationEngine failed to load component
      qrc:///qml/main.qml:1 Expected token `numeric literal'
      qrc:///qml/main.qml:1 Expected a qualified name id

      The same happened using Qt 5.3 Beta.

      To test it you can create a default Qt Quick Application and then change the main.qml to have 'byte order mark'.

      Attachments

        Issue Links

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

          Activity

            People

              shausman Simon Hausmann
              tiagocc0 Tiago de Castro Carvalho
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes