QXmlQuery QXML::XSLT20 fails



  • 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");
    }


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.