My Qt code is pretty simple:
#include <QtGui>
#include <QWebView>
int main(int argc, char** argv) {
QApplication app(argc, argv);
QWebView* view = new QWebView;
view->setUrl(QUrl::fromLocalFile("C:\\Users\\Me\\Documents\\website.html"));
view->show();
return app.exec();
}
However, this just displays a blank page when the application starts up. Any ideas? I'm trying to follow simple tutorials and have searched. I even tried loading Google and that failed.