summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/integration/qscreencapture_integration/tst_qscreencapture_integration.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/auto/integration/qscreencapture_integration/tst_qscreencapture_integration.cpp b/tests/auto/integration/qscreencapture_integration/tst_qscreencapture_integration.cpp
index 0a3c4113e..d97b3ef3c 100644
--- a/tests/auto/integration/qscreencapture_integration/tst_qscreencapture_integration.cpp
+++ b/tests/auto/integration/qscreencapture_integration/tst_qscreencapture_integration.cpp
@@ -346,7 +346,11 @@ void tst_QScreenCaptureIntegration::captureOverlappedWindow()
void tst_QScreenCaptureIntegration::captureScreen()
{
auto widget = QTestWidget::createAndShow(Qt::Window | Qt::FramelessWindowHint
- | Qt::WindowStaysOnTopHint,
+ | Qt::WindowStaysOnTopHint
+#ifdef Q_OS_ANDROID
+ | Qt::Popup
+#endif
+ ,
QRect{ 200, 100, 430, 351 });
QVERIFY(QTest::qWaitForWindowExposed(widget.get()));
@@ -357,7 +361,11 @@ void tst_QScreenCaptureIntegration::captureScreen()
void tst_QScreenCaptureIntegration::captureScreenByDefault()
{
auto widget = QTestWidget::createAndShow(Qt::Window | Qt::FramelessWindowHint
- | Qt::WindowStaysOnTopHint,
+ | Qt::WindowStaysOnTopHint
+#ifdef Q_OS_ANDROID
+ | Qt::Popup
+#endif
+ ,
QRect{ 200, 100, 430, 351 });
QVERIFY(QTest::qWaitForWindowExposed(widget.get()));