summaryrefslogtreecommitdiff
path: root/examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/main.cpp
diff options
context:
space:
mode:
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();
+}