diff options
Diffstat (limited to 'tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp')
-rw-r--r-- | tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp b/tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp index b2c0c272..b907f5c3 100644 --- a/tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp +++ b/tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp @@ -35,6 +35,7 @@ ****************************************************************************/ #include <qtest.h> +#include <QtCore/qoperatingsystemversion.h> #include <QtTest/QSignalSpy> #include <QtQml/qqmlengine.h> #include <QtQml/qqmlcomponent.h> @@ -763,6 +764,8 @@ void tst_QQuickApplicationWindow::focusAfterPopupClosed() void tst_QQuickApplicationWindow::clearFocusOnDestruction() { + if (QOperatingSystemVersion::current() <= QOperatingSystemVersion::Windows7) + QSKIP("Test requires a version of Windows newer than 7: QTBUG-84443"); if (!canImportModule("import QtGraphicalEffects 1.15; DropShadow {}")) QSKIP("Test requires QtGraphicalEffects"); |