Merge "Fix tst_qgraphicseffect on Wayland"

This commit is contained in:
Eskil Abrahamsen Blomfeldt 2021-03-01 08:58:41 +01:00 committed by Qt CI Bot
commit 3416e5423e
2 changed files with 4 additions and 4 deletions

View File

@ -456,10 +456,9 @@ void tst_QBrush::textureBrushStream()
QCOMPARE(loadedBrush1.style(), Qt::TexturePattern);
QCOMPARE(loadedBrush2.style(), Qt::TexturePattern);
#ifdef Q_OS_ANDROID
QEXPECT_FAIL("", "QTBUG-69193", Continue);
#endif
QCOMPARE(loadedBrush1.texture(), pixmap_source);
// pixmaps may have been converted to system format
QCOMPARE(loadedBrush1.texture().toImage().convertToFormat(QImage::Format_ARGB32_Premultiplied),
pixmap_source.toImage().convertToFormat(QImage::Format_ARGB32_Premultiplied));
QCOMPARE(loadedBrush2.textureImage(), image_source);
}

View File

@ -694,6 +694,7 @@ void tst_QGraphicsEffect::prepareGeometryChangeInvalidateCache()
QGraphicsView view(&scene);
view.show();
QVERIFY(QTest::qWaitForWindowExposed(&view));
QTRY_VERIFY(view.windowHandle()->isActive());
QTRY_VERIFY(item->nbPaint >= 1);
item->nbPaint = 0;