Skip to content

Instantly share code, notes, and snippets.

@lettergram
Created March 18, 2015 23:31
Show Gist options
  • Save lettergram/b0e86b89b559efb41a10 to your computer and use it in GitHub Desktop.
Save lettergram/b0e86b89b559efb41a10 to your computer and use it in GitHub Desktop.
#include <QUrl>
#include <QtWebKitWidgets/QWebView>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow){
ui->setupUi(this);
ui->webView->load(QUrl("http://www.google.com"));
ui->webView->show();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment