Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: edfa0acc84
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.382 kb
#include <QApplication>
#include <QPushButton>
#include <QtWebKit>
extern "C" {
int start_browser(char *title)
{
char *argv[1];
argv[0] = title;
int argc = 1;
QApplication app(argc, argv);
QWebView *view = new QWebView();
view->load(QUrl("http://localhost:3000/"));
view->show();
return app.exec();
}
}
Jump to Line
Something went wrong with that request. Please try again.