aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qquicktext/tst_qquicktext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qquicktext/tst_qquicktext.cpp')
-rw-r--r--tests/auto/declarative/qquicktext/tst_qquicktext.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/auto/declarative/qquicktext/tst_qquicktext.cpp b/tests/auto/declarative/qquicktext/tst_qquicktext.cpp
index 3a08dd208d..8ac3a078bc 100644
--- a/tests/auto/declarative/qquicktext/tst_qquicktext.cpp
+++ b/tests/auto/declarative/qquicktext/tst_qquicktext.cpp
@@ -520,15 +520,7 @@ void tst_qquicktext::alignments()
QFETCH(int, vAlign);
QFETCH(QString, expectfile);
-#ifdef Q_WS_X11
- // Font-specific, but not likely platform-specific, so only test on one platform
- QFont fn;
- fn.setRawName("-misc-fixed-medium-r-*-*-8-*-*-*-*-*-*-*");
- QApplication::setFont(fn);
-#endif
-
QQuickView *canvas = createView(TESTDATA("alignments.qml"));
-
canvas->show();
canvas->requestActivateWindow();
QTest::qWait(50);
@@ -545,14 +537,9 @@ void tst_qquicktext::alignments()
canvas->render(&p);
QImage expect(expectfile);
-
-#ifdef Q_WS_X11
- // Font-specific, but not likely platform-specific, so only test on one platform
if (QApplicationPrivate::graphics_system_name == "raster" || QApplicationPrivate::graphics_system_name == "") {
QCOMPARE(actual,expect);
}
-#endif
-
delete canvas;
#endif
}