summaryrefslogtreecommitdiff
path: root/examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/main.cpp
diff options
context:
space:
mode:
authorManuel Traut <manut@linutronix.de>2016-01-12 12:00:25 +0100
committerManuel Traut <manut@linutronix.de>2016-01-12 12:00:25 +0100
commit498830a97001a793c12aef3d011c5374a05b4a83 (patch)
tree2c7e64e9ddb6556e22d21393f10cddc5bd990952 /examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/main.cpp
parentc99be12a9a7b6270e9b3db4c5f96cb8e8eb0c7c1 (diff)
mv yocto examples into example dir
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/main.cpp')
-rw-r--r--examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/main.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/main.cpp b/examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/main.cpp
new file mode 100644
index 0000000..9e2d83c
--- /dev/null
+++ b/examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/main.cpp
@@ -0,0 +1,11 @@
+#include "mainwindow.h"
+#include <QApplication>
+
+int main(int argc, char *argv[])
+{
+ QApplication a(argc, argv);
+ MainWindow w;
+ w.show();
+
+ return a.exec();
+}