Hello all,
I wonder if there is any alternative to using QWebElement.findAll() without setting up classes up to QWebPage ? Because in my case this causes immense resource consumption from 7MB up to 21MB (also WebCoreNode leak warning) just to create a virtual webpage of nonvisible html code - but I have to admit I did only page.deleteLater(); to manage resources. Here is the code:
Reply is QNetworkReplyOr do I have to use regexp search on qstring with html code?Qt Code:
QWebPage page; QWebFrame *frame = page.mainFrame(); frame->setHtml(htmlReply); QWebElement html = frame->documentElement(); QWebElementCollection myOutput = html.findAll("DIV.myClass");To copy to clipboard, switch view to plain text mode
Thanks for any answers
Bookmarks