#include #include #include #include "Page.h" Page::Page() : QWebPage() {} void Page::javaScriptConsoleMessage(const QString & message, int lineNumber, const QString & sourceID) { emit handleError(message, lineNumber, sourceID); }