Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QXmlQuery QXML::XSLT20 fails
Forum Update on Monday, May 27th 2025

QXmlQuery QXML::XSLT20 fails

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 356 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    antonio
    wrote on 7 Oct 2015, 23:16 last edited by
    #1

    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 Reply Last reply
    0

    1/1

    7 Oct 2015, 23:16

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved