qmlFrontend/main.cpp
branchqmlfrontend
changeset 10402 3313336c1ee0
child 10420 02c573d19224
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qmlFrontend/main.cpp	Fri Sep 12 00:51:14 2014 +0400
@@ -0,0 +1,17 @@
+#include <QtGui/QGuiApplication>
+#include "qtquick2applicationviewer/qtquick2applicationviewer.h"
+
+#include "hwengine.h"
+
+int main(int argc, char *argv[])
+{
+    QGuiApplication app(argc, argv);
+
+    HWEngine::exposeToQML();
+
+    QtQuick2ApplicationViewer viewer;
+    viewer.setMainQmlFile(QStringLiteral("qml/qmlFrontend/main.qml"));
+    viewer.showExpanded();
+
+    return app.exec();
+}