Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
4.7.4
-
Windows
Description
The following code crashes with qmlviewer (and other QML applications also):
import QtQuick 1.1
Rectangle {
id: root
width: 300; height: 300
XmlListModel {
id: model
xml: "<a></a>"
query: "/*"
XmlRole
{ name: "isA"; query: "name()='a'" } }
}
Fix for memory leak in QXmlQuery has caused this crash. Reverting SHA 23267553627ac3c4cbcd918283bee8e665deeff9 will solve the problem.