Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0
-
None
Description
import QtQuick 2.3 Item { Component.onCompleted: { var pt = Qt.point(1, 0) console.log(pt, JSON.stringify(pt)) } }
The printed output is
QPointF(1, 0) {}
The point has been stringified as an empty object.
Attachments
Issue Links
- is duplicated by
-
QTBUG-46049 TestCase.compare() does not work with Qt types
-
- Closed
-
- relates to
-
QTBUG-35565 QtQuickTest: compare() succeeds when comparing two unequal Qt.points
-
- Closed
-
-
QTBUG-37851 QVariant loses alpha value when converting QColor to QString
-
- Closed
-