From 1876ff11a182afb1cf0180f188a2e13ad7b8095c Mon Sep 17 00:00:00 2001 From: "Bocklage, Jens" Date: Fri, 4 Nov 2016 17:23:50 +0100 Subject: Add two sample apps just to have some Qt based applications that can be launched. Nav is Qt widget based. Media is QML based. Signed-off-by: Bocklage, Jens --- SampleMediaApp/main.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 SampleMediaApp/main.cpp (limited to 'SampleMediaApp/main.cpp') diff --git a/SampleMediaApp/main.cpp b/SampleMediaApp/main.cpp new file mode 100644 index 0000000..a1ea908 --- /dev/null +++ b/SampleMediaApp/main.cpp @@ -0,0 +1,14 @@ +#include +#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(); +} -- cgit 1.2.3-korg