Android: Skip showAndMoveChild() test case temporarily

grabWindow() currently returns a null QPixmap on Android due to even
raster windows being backed up by OpenGL/QRhi. The test case uses
grabWindow() internally to grab contents to a pixmap and comparing
whether the pixmap contents are as expected, leading now to failures
due to null QPixmap being returned.

Task-number: QTBUG-118849
Change-Id: I51cda2d43fe482252d5604f6b18281d810aa4d2f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
bb10
Tinja Paavoseppä 2023-12-05 14:25:00 +02:00
parent 2020ce5fd2
commit 97625e84b1
1 changed files with 3 additions and 0 deletions

View File

@ -6577,6 +6577,9 @@ void tst_QWidget::moveChild()
void tst_QWidget::showAndMoveChild()
{
#ifdef ANDROID
QSKIP("Fails on Android due to removed grabWindow(): QTBUG-118849");
#endif
if (m_platform == QStringLiteral("wayland"))
QSKIP("Wayland: This fails. Figure out why.");
QWidget parent(nullptr, Qt::Window | Qt::WindowStaysOnTopHint);