qutebrowser/scripts/testbrowser/cpp/webengine/main.cpp

14 lines
234 B
C++
Raw Normal View History

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