summaryrefslogtreecommitdiffstats
path: root/src/qtwebkit-test.cpp
blob: 1248de73032716fa9f01d026fc6adb04446b41b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * This file is part of MXE. See LICENSE.md for licensing information.
 *
 * from: https://github.com/mxe/mxe/issues/1868
 */


#include <QApplication>

#include <QtWebKitWidgets/QWebView>
#include <QtWebKitWidgets/QWebFrame>

int main(int argc, char **argv){

  QApplication app(argc, argv);

  QWebView *view = new QWebView();
  view->load(QUrl("http://google.com/"));
  view->show();

  app.exec();
}