Skip to content

Instantly share code, notes, and snippets.

@speakman
Created August 23, 2012 07:15
Show Gist options
  • Save speakman/3433758 to your computer and use it in GitHub Desktop.
Save speakman/3433758 to your computer and use it in GitHub Desktop.
Minimal Web Browser
TARGET = extremely-simple-browser
QT += core gui webkit network
TEMPLATE = app
SOURCES += main.cpp
#include <QApplication>
#include <QWebView>
#include <QUrl>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QWebView view;
view.load(QUrl("http://www.google.com"));
view.show();
return a.exec();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment