QXmlQuery QXML::XSLT20 fails
-
wrote on 7 Oct 2015, 23:16 last edited by
I have this piece of code working since 1 year ago. I think that the problem comes when the size of a XML file grows up to 2.5MB; normally they are around 100KB.
QXmlQuery query(QXmlQuery::XSLT20);
query.setFocus(QUrl::fromLocalFile(xmlFile_)
query.setQuery(QUrl::fromLocalFile(xsltFile_));QString array;
if(!query.evaluateTo(&array)){ //<--the program halts here
qDebug("fail");
}
1/1