summaryrefslogtreecommitdiffstats
path: root/src/qtwebkit-test.cpp
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-08-04 02:17:12 (GMT)
committerTony Theodore <tonyt@logyst.com>2017-08-04 02:17:12 (GMT)
commitf35618ef6da3d553e73ec10cec47a0cfd20e285d (patch)
tree250a2e1f4a7b3e045977a673cb8793e12cfee841 /src/qtwebkit-test.cpp
parent629b6776020bba6af7022f3586b693168315dbdf (diff)
downloadmxe-f35618ef6da3d553e73ec10cec47a0cfd20e285d.zip
mxe-f35618ef6da3d553e73ec10cec47a0cfd20e285d.tar.gz
mxe-f35618ef6da3d553e73ec10cec47a0cfd20e285d.tar.bz2
qtwebkit: add test
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();
+}