2017-08-04 03:17:12 +01:00
|
|
|
/*
|
|
|
|
* This file is part of MXE. See LICENSE.md for licensing information.
|
|
|
|
*
|
|
|
|
* from: https://github.com/mxe/mxe/issues/1868
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include <QApplication>
|
|
|
|
|
2018-05-24 00:08:33 +01:00
|
|
|
#include <QtWebKitWidgets>
|
2017-08-04 03:17:12 +01:00
|
|
|
|
|
|
|
int main(int argc, char **argv){
|
|
|
|
|
|
|
|
QApplication app(argc, argv);
|
|
|
|
|
|
|
|
QWebView *view = new QWebView();
|
2019-05-03 18:17:52 +01:00
|
|
|
view->load(QUrl("https://google.com/"));
|
2017-08-04 03:17:12 +01:00
|
|
|
view->show();
|
|
|
|
|
|
|
|
app.exec();
|
|
|
|
}
|