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 _______________________________________________ webkit-qt mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
