diff options
Diffstat (limited to 'tests/auto/font/tst_font.cpp')
-rw-r--r-- | tests/auto/font/tst_font.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/font/tst_font.cpp b/tests/auto/font/tst_font.cpp index 0794e761..aeaa49f8 100644 --- a/tests/auto/font/tst_font.cpp +++ b/tests/auto/font/tst_font.cpp @@ -53,6 +53,9 @@ class tst_font : public QQmlDataTest { Q_OBJECT +public: + tst_font(); + private slots: void systemFont(); @@ -83,6 +86,11 @@ static QFont testFont() return var.value<QFont>(); } +tst_font::tst_font() +{ + QQuickStyle::setStyle("Basic"); +} + void tst_font::systemFont() { QSKIP("QTBUG-70063: qmlClearTypeRegistrations() call causes crash"); |