Hello all I hope someone here can set me straight on this since I can't for the heck of it figure it out.
Am no pro so please bear with me.

I have a program that downloads a HTML file and parses out some information.
And its all working good, but some of the information is being displayed by a JavaScript.
So in the QString witch I have the complete source code of the page I see the code for the JavaScript.
Not the info I want, is there a way I can run the entire script so I can get the info I need?

here is a snip of the code showing how i store the html page.
Qt Code:
  1. // function executed when QNetworkReply emits finished()
  2. void getHTMLFile::replyFinsihed(QNetworkReply *reply)
  3. {
  4. QByteArray qbData = reply->readAll();
  5. sData.clear();
  6. sData = qbData;
  7. // continue with parsing data.
  8. }
To copy to clipboard, switch view to plain text mode 

I have googeld around for a while and found this.
Qt Code:
  1. QWebSettings::globalSettings()->setAttribute(..);
To copy to clipboard, switch view to plain text mode 
But have not found a setting like
Qt Code:
  1. ::evaluateJavaScript || ::enableScript
To copy to clipboard, switch view to plain text mode 
There is a function in
Qt Code:
  1. QWebView::evaluateJavaScript()
To copy to clipboard, switch view to plain text mode 
But from what i could find of information its not what i need (I may be wrong ofcorse..)

Any help and or guidance is much appreciated.

Cheers
WetCode