diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2022-02-25 09:59:03 +0100 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2022-02-28 23:08:20 +0100 |
commit | e37919b758799e71a8481ae9edf690bc7b01c70a (patch) | |
tree | ba122973ecfbc0390f983107014a08caf855bd8b /tests/auto/widgets/widgets/qframe/BLACKLIST | |
parent | 34a4fe01663c3d8b193e42c6609e75c431f8a897 (diff) |
Android: fix tst_QFrame::testPainting
When we create a QPixmap using QWidget::grab(), a default system
image format is used for that.
On Android this format is ARGB32_Premultiplied, while on the desktop
systems it is RGB32.
The images that are saved in the resources and used as references, also
have the RGB32 format.
As a result, on Android we need to convert the pixmap to a proper format
before comparing it to the reference.
Fixes: QTBUG-69064
Pick-to: 6.3 6.2
Change-Id: I2d881e508d34e0b1a2a1a7bffcbc71ae2907d31d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
Diffstat (limited to 'tests/auto/widgets/widgets/qframe/BLACKLIST')
-rw-r--r-- | tests/auto/widgets/widgets/qframe/BLACKLIST | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/widgets/widgets/qframe/BLACKLIST b/tests/auto/widgets/widgets/qframe/BLACKLIST deleted file mode 100644 index 3a28dd1239..0000000000 --- a/tests/auto/widgets/widgets/qframe/BLACKLIST +++ /dev/null @@ -1,3 +0,0 @@ -# QTBUG-69064 -[testPainting] -android |