aboutsummaryrefslogtreecommitdiffstats
path: root/bin/templates/qt4project/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/templates/qt4project/main.cpp')
-rw-r--r--bin/templates/qt4project/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/templates/qt4project/main.cpp b/bin/templates/qt4project/main.cpp
new file mode 100644
index 0000000000..e1e39f6f26
--- /dev/null
+++ b/bin/templates/qt4project/main.cpp
@@ -0,0 +1,10 @@
+#include <%QAPP_INCLUDE%>
+#include "%INCLUDE%"
+
+int main(int argc, char *argv[])
+{
+ QApplication a(argc, argv);
+ %CLASS% w;
+ w.show();
+ return a.exec();
+}