mxe/src/qtwebkit-test.cpp

22 lines
362 B
C++
Raw Permalink Normal View History

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>
#include <QtWebKitWidgets>
2017-08-04 03:17:12 +01:00
int main(int argc, char **argv){
QApplication app(argc, argv);
QWebView *view = new QWebView();
view->load(QUrl("https://google.com/"));
2017-08-04 03:17:12 +01:00
view->show();
app.exec();
}