madwolf
16th May 2010, 13:16
Hello,
I'm opening a webpage in QWebView and then I need to parse the html in my program to get some data out of it. I copy the html into QString using QWebFrame->toHtml().
Is there anyway I can see what exactly is being put into the QString? The debugger doesn't show any contents, I guess the variable is too big to fit into the debugger window. I'm using the debugger integrated with QT Creator.
I tried to display it using QTextBrowser: ui->textBrowser->setText(robo1);
robo1 is my QString containing HTML.
However, the page is being rendered in the QTextBrowser. How can I make it show the source?
I'm opening a webpage in QWebView and then I need to parse the html in my program to get some data out of it. I copy the html into QString using QWebFrame->toHtml().
Is there anyway I can see what exactly is being put into the QString? The debugger doesn't show any contents, I guess the variable is too big to fit into the debugger window. I'm using the debugger integrated with QT Creator.
I tried to display it using QTextBrowser: ui->textBrowser->setText(robo1);
robo1 is my QString containing HTML.
However, the page is being rendered in the QTextBrowser. How can I make it show the source?