winrt: Skip QGuiApplication auto tests that do no apply

Change-Id: I618eb0d6aa0bb09ab635f56e64c8d0df33c2dab3
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
bb10
Oliver Wolff 2018-05-09 07:15:41 +02:00
parent e77352a680
commit 88ea1557b3
1 changed files with 6 additions and 0 deletions

View File

@ -374,6 +374,9 @@ public:
void tst_QGuiApplication::changeFocusWindow()
{
#ifdef Q_OS_WINRT
QSKIP("WinRt does not support multiple native windows.");
#endif
int argc = 0;
QGuiApplication app(argc, 0);
@ -594,6 +597,9 @@ public:
void tst_QGuiApplication::modalWindow()
{
#ifdef Q_OS_WINRT
QSKIP("WinRt does not support multiple native windows.");
#endif
int argc = 0;
QGuiApplication app(argc, 0);
const QRect screenGeometry = QGuiApplication::primaryScreen()->availableVirtualGeometry();