summaryrefslogtreecommitdiff
path: root/xmake/templates/c++/qt/console/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/templates/c++/qt/console/src/main.cpp')
-rw-r--r--xmake/templates/c++/qt/console/src/main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/templates/c++/qt/console/src/main.cpp b/xmake/templates/c++/qt/console/src/main.cpp
new file mode 100644
index 000000000..e876eea4f
--- /dev/null
+++ b/xmake/templates/c++/qt/console/src/main.cpp
@@ -0,0 +1,7 @@
+#include <QCoreApplication>
+
+int main(int argc, char *argv[]) {
+ QCoreApplication a(argc, argv);
+ printf("hello xmake\n");
+ return a.exec();
+}