diff options
Diffstat (limited to 'languages/cpp/app_templates/qt4hello/main.cpp')
-rw-r--r-- | languages/cpp/app_templates/qt4hello/main.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/qt4hello/main.cpp b/languages/cpp/app_templates/qt4hello/main.cpp new file mode 100644 index 00000000..cbff1d3c --- /dev/null +++ b/languages/cpp/app_templates/qt4hello/main.cpp @@ -0,0 +1,11 @@ +%{CPP_TEMPLATE} + +#include <QCoreApplication> + +int main(int argc, char *argv[]) +{ + QCoreApplication app(argc, argv); + qDebug("Hello from Qt 4!"); + return 0; +} + |