Add two sample apps just to have some Qt based applications that can be launched.
[staging/HomeScreen.git] / SampleMediaApp / main.cpp
diff --git a/SampleMediaApp/main.cpp b/SampleMediaApp/main.cpp
new file mode 100644 (file)
index 0000000..a1ea908
--- /dev/null
@@ -0,0 +1,14 @@
+#include <QtGui/QGuiApplication>
+#include "qtquick2applicationviewer.h"
+
+int main(int argc, char *argv[])
+{
+    QGuiApplication app(argc, argv);
+
+    QtQuick2ApplicationViewer viewer;
+    viewer.setMainQmlFile(QStringLiteral("qml/SampleMediaApp/main.qml"));
+    viewer.setFlags(Qt::FramelessWindowHint);
+    viewer.showExpanded();
+
+    return app.exec();
+}