Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.0.0
-
None
-
Windows 7, MSVC 2010
-
ba8a50ae80c2483d85e68db252bdb57498718116
Description
Windows: tst_qquickfontloader test fails due to insufficient support for application fonts in Windows platform plugin:
********* Start testing of tst_qquickfontloader ********* Config: Using QTest library 5.0.0, Qt 5.0.0 PASS : tst_qquickfontloader::initTestCase() PASS : tst_qquickfontloader::noFont() PASS : tst_qquickfontloader::namedFont() QWARN : tst_qquickfontloader::localFont() This plugin does not support application fonts QWARN : tst_qquickfontloader::localFont() qwindowsfontdatabase_ft.cpp:432: class QStringList __thiscall QWindowsFontDatabaseFT::addApplicationFont(const class QByteArray &,const class QString &): Unimplemented code. QWARN : tst_qquickfontloader::localFont() file::2:1: QML FontLoader: Cannot load font: "file:///C:/qt/qt5/qtdeclarative/tests/auto/quick/qquickfontloader/data/tarzeau_ocr_a.ttf" FAIL! : tst_qquickfontloader::localFont() Compared values are not the same Actual (fontObject->name()): Expected (QString("OCRA")): OCRA .\tst_qquickfontloader.cpp(126) : failure location QWARN : tst_qquickfontloader::failLocalFont() This plugin does not support application fonts QWARN : tst_qquickfontloader::failLocalFont() qwindowsfontdatabase_ft.cpp:432: class QStringList __thiscall QWindowsFontDatabaseFT::addApplicationFont(const class QByteArray &,const class QString &): Unimplemented code. PASS : tst_qquickfontloader::failLocalFont() QWARN : tst_qquickfontloader::webFont() This plugin does not support application fonts QWARN : tst_qquickfontloader::webFont() qwindowsfontdatabase_ft.cpp:432: class QStringList __thiscall QWindowsFontDatabaseFT::addApplicationFont(const class QByteArray &,const class QString &): Unimplemented code. QWARN : tst_qquickfontloader::webFont() file::2:1: QML FontLoader: Cannot load font: "http://localhost:14448/tarzeau_ocr_a.ttf" FAIL! : tst_qquickfontloader::webFont() Compared values are not the same Actual (fontObject->name()): Expected (QString("OCRA")): OCRA .\tst_qquickfontloader.cpp(154) : failure location QWARN : tst_qquickfontloader::redirWebFont() This plugin does not support application fonts QWARN : tst_qquickfontloader::redirWebFont() qwindowsfontdatabase_ft.cpp:432: class QStringList __thiscall QWindowsFontDatabaseFT::addApplicationFont(const class QByteArray &,const class QString &): Unimplemented code. QWARN : tst_qquickfontloader::redirWebFont() file::2:1: QML FontLoader: Cannot load font: "http://localhost:14448/olddir/oldname.ttf" FAIL! : tst_qquickfontloader::redirWebFont() Compared values are not the same Actual (fontObject->name()): Expected (QString("OCRA")): OCRA .\tst_qquickfontloader.cpp(170) : failure location PASS : tst_qquickfontloader::failWebFont() QWARN : tst_qquickfontloader::changeFont() This plugin does not support application fonts QWARN : tst_qquickfontloader::changeFont() qwindowsfontdatabase_ft.cpp:432: class QStringList __thiscall QWindowsFontDatabaseFT::addApplicationFont(const class QByteArray &,const class QString &): Unimplemented code. QWARN : tst_qquickfontloader::changeFont() file::2:1: QML FontLoader: Cannot load font: "file:///C:/qt/qt5/qtdeclarative/tests/auto/quick/qquickfontloader/data/tarzeau_ocr_a.ttf" FAIL! : tst_qquickfontloader::changeFont() 'fontObject->status() == QQuickFontLoader::Ready' returned FALSE. () .\tst_qquickfontloader.cpp(202) : failure location QWARN : tst_qquickfontloader::changeFontSourceViaState() This plugin does not support application fonts QWARN : tst_qquickfontloader::changeFontSourceViaState() qwindowsfontdatabase_ft.cpp:432: class QStringList __thiscall QWindowsFontDatabaseFT::addApplicationFont(const class QByteArray &,const class QString &): Unimplemented code. QWARN : tst_qquickfontloader::changeFontSourceViaState() file:///C:/qt/qt5/qtdeclarative/tests/auto/quick/qquickfontloader/data/qtbug-20268.qml:13:5: QML FontLoader: Cannot load font: "file:///C:/qt/ qt5/qtdeclarative/tests/auto/quick/qquickfontloader/data/tarzeau_ocr_a.ttf" QWARN : tst_qquickfontloader::changeFontSourceViaState() Remove me: fixing toplevel window flags FAIL! : tst_qquickfontloader::changeFontSourceViaState() 'fontObject->status() == QQuickFontLoader::Ready' returned FALSE. () .\tst_qquickfontloader.cpp(237) : failure location PASS : tst_qquickfontloader::cleanupTestCase() Totals: 6 passed, 5 failed, 0 skipped ********* Finished testing of tst_qquickfontloader *********
Marking this test insignificant in Windows for now to get CI running. Remember to remove insignification after the issue is fixed.
Attachments
Issue Links
- is required for
-
QTBUG-24203 Qt 5.0 - Windows: Fix tests
- Closed