diff --git a/tests/auto/gui/painting/qprinter/tst_qprinter.cpp b/tests/auto/gui/painting/qprinter/tst_qprinter.cpp index cbfa8a2d35..914628e740 100644 --- a/tests/auto/gui/painting/qprinter/tst_qprinter.cpp +++ b/tests/auto/gui/painting/qprinter/tst_qprinter.cpp @@ -52,7 +52,7 @@ #include -#ifdef Q_WS_WIN +#ifdef Q_OS_WIN #include #endif @@ -222,8 +222,8 @@ void tst_QPrinter::testPageSetupDialog() void tst_QPrinter::testPageSize() { -#ifndef Q_OS_WIN - QSKIP("QPrinter::winPageSize() does not exist for non-Windows platforms"); +#if 1 + QSKIP("QPrinter::winPageSize(): Windows only and currently not implemented / QTBUG-22927"); #else QPrinter prn;