-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
Both Item.grabToImage() and TestCase.grabImage() perform similar tasks. However, the API of their result objects are completely different:
- https://doc.qt.io/qt-6/qml-qtquick-itemgrabresult.html
- https://doc.qt.io/qt-6/qml-qttest-testcase.html#grabImage-method
Let's find a way to unify their API. We could give both objects the same properties/methods where it makes sense, or even merge them into the same class (probably has to wait until Qt 7)?
- relates to
-
QTBUG-67221 Expose QImage of TestCase::grabImage
-
- Reported
-
-
QTBUG-141428 Turn QuickTestImageObject (returned by TestCase.grabImage()) into a proper QML type
-
- Reported
-