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 QNetworkReply
Qt Code:
  1. QWebPage page;
  2. QWebFrame *frame = page.mainFrame();
  3. QString htmlReply = Reply->readAll();
  4. frame->setHtml(htmlReply);
  5. QWebElement html = frame->documentElement();
  6. QWebElementCollection myOutput = html.findAll("DIV.myClass");
To copy to clipboard, switch view to plain text mode 
Or do I have to use regexp search on qstring with html code?

Thanks for any answers