use DISTFILES instead of OTHER_FILES in docs, templates, and editors

the latter variable is entirely meaningless to qmake and should have
never been recognized by creator. unfortunately, qmake's dist target
wasn't very useful before qt 5.4, so it didn't occur to anybody to
actually use the variable associated with it, even though it is
semantically exactly the right thing.

Change-Id: I249857f54fdc38fb5ecac0f608e5f4140624c23c
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
This commit is contained in:
Oswald Buddenhagen
2014-08-06 15:07:33 +02:00
parent 3e4f17c164
commit df1f576666
11 changed files with 20 additions and 19 deletions

View File

@@ -340,7 +340,7 @@
\QC determines whether to display files from the project folder
in the \gui Projects pane depending on the file type (.pro, .pri, .cpp,
.h, .qrc, and so on). To display other types of files, edit the
project file. Add filenames as values of the \c {OTHER_FILES} variable.
project file. Add filenames as values of the \c {DISTFILES} variable.
You can also use wildcards.
For example, the following code specifies that text files are displayed
@@ -348,7 +348,7 @@
\code
OTHER_FILES += *.txt
DISTFILES += *.txt
\endcode