diff options
author | Geir Vattekar <geir.vattekar@nokia.com> | 2011-01-21 06:32:05 (GMT) |
---|---|---|
committer | Geir Vattekar <geir.vattekar@nokia.com> | 2011-01-21 06:32:05 (GMT) |
commit | 04765969d74f4e3f323a4477c41b061e954f6df7 (patch) | |
tree | e50c296907d275bdb03761b501c7c72cb1c88504 /examples/tutorials/gettingStarted/gsQt/part1 | |
parent | c9be4ccfbd63323a2d70d341c9bc490a95195148 (diff) | |
download | Qt-04765969d74f4e3f323a4477c41b061e954f6df7.zip Qt-04765969d74f4e3f323a4477c41b061e954f6df7.tar.gz Qt-04765969d74f4e3f323a4477c41b061e954f6df7.tar.bz2 |
Doc: Added code for GettingStartedQt tutorial
Task-number: QTBUG-16609
Diffstat (limited to 'examples/tutorials/gettingStarted/gsQt/part1')
-rwxr-xr-x | examples/tutorials/gettingStarted/gsQt/part1/main.cpp | 14 | ||||
-rwxr-xr-x | examples/tutorials/gettingStarted/gsQt/part1/part1.pro | 8 |
2 files changed, 22 insertions, 0 deletions
diff --git a/examples/tutorials/gettingStarted/gsQt/part1/main.cpp b/examples/tutorials/gettingStarted/gsQt/part1/main.cpp new file mode 100755 index 0000000..e1eabca --- /dev/null +++ b/examples/tutorials/gettingStarted/gsQt/part1/main.cpp @@ -0,0 +1,14 @@ + +#include <QtGui> + + +int main(int argv, char **args) +{ + QApplication app(argv, args); + + QTextEdit textEdit; + textEdit.show(); + + return app.exec(); +} + diff --git a/examples/tutorials/gettingStarted/gsQt/part1/part1.pro b/examples/tutorials/gettingStarted/gsQt/part1/part1.pro new file mode 100755 index 0000000..f52a633 --- /dev/null +++ b/examples/tutorials/gettingStarted/gsQt/part1/part1.pro @@ -0,0 +1,8 @@ +SOURCES = main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/tutorials/gettingStarted/gsQt/part1 +sources.files = $$SOURCES *.pro +sources.path = $$[QT_INSTALL_EXAMPLES]/tutorial/gettingStarted/gsQt/part1 +INSTALLS += target sources + |