Merge "Fix tst_qgraphicseffect on Wayland"
This commit is contained in:
commit
3416e5423e
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user