[webkit-qt] get page content
Ariya Hidayat
ariya.hidayat at gmail.com
Thu Mar 10 08:41:41 PST 2011
You need QApplication::exec() to run the event loop, otherwise parts
of QtWebKit might not work at all. The workaround would be to exit
immediately after you are done with your processing (which is still
hard to achieve since you would miss any JavaScript execution after
that point).
The webcapture example (which I did write) shows a simple case of
using QWebPage. If you want to be more sophisticated, check out
http://phantomjs.org (which I also create).
Regards,
--
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
More information about the webkit-qt
mailing list