summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tutorials/notepad/notepad.pro
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@qt.io>2017-11-13 11:54:48 +0100
committerTopi Reiniƶ <topi.reinio@qt.io>2017-12-18 13:39:28 +0000
commit51a956366f5f39799759d317e675da11a09744c5 (patch)
treee8165e69ebd131d615e258efa64e1aea476af372 /examples/widgets/tutorials/notepad/notepad.pro
parent3dd030863435e058468df66c696e1608b71e1fd2 (diff)
Doc: move notepad example to qtbase and improve it
- Edited gettingstartedqt.qdoc - update .pro files - replaced snippet statements by \quotefromfile - removed second version of notepad.h and notepad.cpp that were made only for quoting snippets (\quotefromfile reads from the program code) - show current filename in header of window - added checking routine on filename in Save method Task-number: QTBUG-63984 Change-Id: I5298d761763a4dfeb705a1d9b77354be853ada88 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'examples/widgets/tutorials/notepad/notepad.pro')
-rw-r--r--examples/widgets/tutorials/notepad/notepad.pro20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/widgets/tutorials/notepad/notepad.pro b/examples/widgets/tutorials/notepad/notepad.pro
new file mode 100644
index 0000000000..7369dbc991
--- /dev/null
+++ b/examples/widgets/tutorials/notepad/notepad.pro
@@ -0,0 +1,20 @@
+TEMPLATE = app
+TARGET = notepad
+
+QT += printsupport
+
+SOURCES += \
+ main.cpp\
+ notepad.cpp
+
+HEADERS += notepad.h
+
+FORMS += notepad.ui
+
+RESOURCES += \
+ notepad.qrc
+
+# install
+target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/notepad
+INSTALLS += target
+