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

Details

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

    Description

      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.

      Attachments

        1. main.qml
          0.2 kB
          Florian Behrens

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes