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

'Unable to assign [undefined] to QString' when QML string property is set from Javascript

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.2.1
    • None
    • Embedded Linux, gcc 4.6.2 (armv7)

      When running the attached QML in the qtquick2applicationviewer on an ARM platform, the text printed is "Initial" (should be "After completion") and stderr says:

      file:///.../qml/QmlTest/main.qml:9:15: Unable to assign [undefined] to QString
      

      On x86_64 with gcc-4.8.1 it works as expected.

      There is a somewhat related issue in https://bugreports.qt-project.org/browse/QTBUG-36994. But since I cannot reproduce the described issue. I'm not sure whether it is the same problem.

        1. main.qml
          0.2 kB
          Florian Behrens
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            flobe Florian Behrens
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes