diff options
-rw-r--r-- | tests/auto/gui/kernel/qwindow/tst_qwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp index 9e8e1eac11..ff5a670322 100644 --- a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp +++ b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp @@ -2701,6 +2701,9 @@ void tst_QWindow::keepPendingUpdateRequests() void tst_QWindow::activateDeactivateEvent() { + if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::WindowActivation)) + QSKIP("QWindow::requestActivate() is not supported."); + class Window : public QWindow { public: |