From 498830a97001a793c12aef3d011c5374a05b4a83 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Tue, 12 Jan 2016 12:00:25 +0100 Subject: mv yocto examples into example dir Signed-off-by: Manuel Traut --- .../recipes-hello/helloqt/files/helloqt-1.0/main.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/main.cpp (limited to 'examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/main.cpp') 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 + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + MainWindow w; + w.show(); + + return a.exec(); +} -- cgit v1.2.3