diff options
Diffstat (limited to 'doc/src/snippets/widgets-tutorial/template.cpp')
-rw-r--r-- | doc/src/snippets/widgets-tutorial/template.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/src/snippets/widgets-tutorial/template.cpp b/doc/src/snippets/widgets-tutorial/template.cpp new file mode 100644 index 0000000..5958676 --- /dev/null +++ b/doc/src/snippets/widgets-tutorial/template.cpp @@ -0,0 +1,14 @@ +#include <QtGui> + +// Include header files for application components. +// ... + +int main(int argc, char *argv[]) +{ + QApplication app(argc, argv); + + // Set up and show widgets. + // ... + + return app.exec(); +} |