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

QML var to int isn't working correctly

    XMLWordPrintable

Details

    Description

      The following fails with "Unable to assign QString to int", but works fine with vars to reals or strings.

      import Qt 4.6
      
      QtObject {
          property int test19: g
          property var g: 6.7
      }
      

      tst_qdeclarativeecmascript::compiled() tests this.

      Attachments

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

        Activity

          People

            aakenned Aaron Kennedy
            brasser Michael Brasser (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes