qutebrowser/scripts/testbrowser_cpp/main.cpp

14 lines
222 B
C++
Raw Normal View History

2016-04-05 06:56:57 +02:00
#include <QApplication>
#include <QWebView>
#include <QUrl>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QWebView view;
view.load(QUrl(argv[1]));
view.show();
return app.exec();
}