summaryrefslogtreecommitdiffstats
path: root/examples/tutorials/gettingStarted/gsQt/part1
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@nokia.com>2011-01-21 06:32:05 (GMT)
committerGeir Vattekar <geir.vattekar@nokia.com>2011-01-21 06:32:05 (GMT)
commit04765969d74f4e3f323a4477c41b061e954f6df7 (patch)
treee50c296907d275bdb03761b501c7c72cb1c88504 /examples/tutorials/gettingStarted/gsQt/part1
parentc9be4ccfbd63323a2d70d341c9bc490a95195148 (diff)
downloadQt-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-xexamples/tutorials/gettingStarted/gsQt/part1/main.cpp14
-rwxr-xr-xexamples/tutorials/gettingStarted/gsQt/part1/part1.pro8
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
+