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 80124230..b2c0c272 100644 --- a/tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp +++ b/tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp @@ -763,6 +763,9 @@ void tst_QQuickApplicationWindow::focusAfterPopupClosed() void tst_QQuickApplicationWindow::clearFocusOnDestruction() { + if (!canImportModule("import QtGraphicalEffects 1.15; DropShadow {}")) + QSKIP("Test requires QtGraphicalEffects"); + QQmlEngine engine; QQmlComponent component(&engine); component.loadUrl(testFileUrl("clearfocusondestruction.qml")); |