summaryrefslogtreecommitdiffstats
path: root/src/qtwebkit-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtwebkit-test.cpp')
-rw-r--r--src/qtwebkit-test.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/qtwebkit-test.cpp b/src/qtwebkit-test.cpp
new file mode 100644
index 0000000..1248de7
--- /dev/null
+++ b/src/qtwebkit-test.cpp
@@ -0,0 +1,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();
+}