Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.0.0
-
Windows 7, MSVC 2010 64bit, release build
-
9f18ef6613e6babd64183601e75424aeb27e3560
Description
Windows: QAbstractXmlNodeModel autotest crashes:
********* Start testing of tst_QAbstractXmlNodeModel ********* Config: Using QTest library 5.0.0, Qt 5.0.0 PASS : tst_QAbstractXmlNodeModel::initTestCase() PASS : tst_QAbstractXmlNodeModel::constructor() PASS : tst_QAbstractXmlNodeModel::objectSize() QWARN : tst_QAbstractXmlNodeModel::nextFromSimpleAxis(The whole tree) Qt plugin loader: Compatibility plugin 'C:\qt\qt5\qtbase\plugins\bearer\qgenericbearer5.dll', need to load for accessing meta dat a. QWARN : tst_QAbstractXmlNodeModel::nextFromSimpleAxis(The whole tree) Qt plugin loader: Compatibility plugin 'C:\qt\qt5\qtbase\plugins\bearer\qnativewifibearer5.dll', need to load for accessing meta data. Error FODC0002 in c:/qt/qt5/qtxmlpatterns/tests/auto/qabstractxmlnodemodel/tree.xml: Protocol "c" is unknown
The QWARN message about plugins are unrelated to this crash.
The problem is the testFilePath, which points to a local file but doesn't have "file:" as the scheme. The QUrl::isLocalFile() function doesn't consider URLs without "file:" local files anymore. The test case can be made to pass by adding "testFilePath.prepend("file:///");" line before testFilePath is used in the nextFromSimpleAxis() case.
Attachments
Issue Links
- is required for
-
QTBUG-24203 Qt 5.0 - Windows: Fix tests
- Closed