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

"Unable to assign QSize to QSizeF" - should be converted automatically

XMLWordPrintable

      Running:

      import QtQuick 2.0
      
      Image {
          property size foo: sourceSize
      }
      

      Results in the following output:

      ...test.qml:4: Unable to assign QSize to QSizeF
      

      Using Qt.size() to explicitly convert it into QSizeF helps, but this should probably happen automatically.

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

            shausman Simon Hausmann
            saviq MichaƂ Sawicz
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes