summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qpainter/tst_qpainter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qpainter/tst_qpainter.cpp b/tests/auto/qpainter/tst_qpainter.cpp
index 06de16a..3efc54d 100644
--- a/tests/auto/qpainter/tst_qpainter.cpp
+++ b/tests/auto/qpainter/tst_qpainter.cpp
@@ -4566,8 +4566,8 @@ void tst_QPainter::clipBoundingRect()
void tst_QPainter::drawText_subPixelPositionsInRaster_qtbug5053()
{
-#if !defined(Q_WS_MAC)
- QSKIP("Only mac supports sub pixel positions currently", SkipAll);
+#if !defined(Q_WS_MAC) || !defined(Q_MAC_USE_COCOA)
+ QSKIP("Only Mac/Cocoa supports sub pixel positions in raster engine currently", SkipAll);
#endif
QFontMetricsF fm(qApp->font());