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

vector2d and quaternion property assigment is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.2
    • 5.6.1, 5.7.0
    • None
    • Linux yoga 4.6.3-1-ARCH #1 SMP PREEMPT Fri Jun 24 21:19:13 CEST 2016 x86_64 GNU/Linux

    Description

      Per the documentation, `property vector2d foo: "1,2"` and `property quaternion bar: "1,2,3,4"` should work:
      http://doc.qt.io/qt-5/qml-vector2d.html
      http://doc.qt.io/qt-5/qml-quaternion.html

      Instead, those return `Invalid property assignment: unsupported type "QVector2D"` and `Invalid property assignment: unsupported type "QQuaternion"` respectively.

      All the other types, including vector3d and vector4d, work fine (except for matrix4x4, which doesn't have documented assigment from a string).

      Attachments

        Activity

          People

            shausman Simon Hausmann
            chalker Сковорода Никита
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: