summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorKavindra Palaraja <kpalaraja@luxoft.com>2019-04-12 14:31:19 +0200
committerKavindra Palaraja <kpalaraja@luxoft.com>2019-04-29 07:35:30 +0000
commit869459f3c83eeeb404105ea656e1220c3de489e6 (patch)
tree091ce3d592d24aa68238abf6dec0a49b14b4fd78 /qmake
parent9f1a1e320c118ec84d389aaf83008bf01521ce6f (diff)
doc: Document the effect of *.qmake.cache properly
Added a sentence to explain how a .qmake.cache file influences the project root. Task-number: QTBUG-21411 Change-Id: I97766edd96851f1c988ab07f842fb81a339e4ecd Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'qmake')
-rw-r--r--qmake/doc/src/qmake-manual.qdoc5
1 files changed, 4 insertions, 1 deletions
diff --git a/qmake/doc/src/qmake-manual.qdoc b/qmake/doc/src/qmake-manual.qdoc
index ffd68adb7b..3119a440d4 100644
--- a/qmake/doc/src/qmake-manual.qdoc
+++ b/qmake/doc/src/qmake-manual.qdoc
@@ -4567,7 +4567,10 @@
\c QMAKEFEATURES environment variable)
\li \c $$QMAKEFEATURES/myfeatures.prf (for each directory listed in the
\c QMAKEFEATURES property variable)
- \li \c myfeatures.prf (in the project's root directory)
+ \li \c myfeatures.prf (in the project's root directory). The project root
+ is determined by the top-level \c{.pro} file. However, if you place the
+ \c{.qmake.cache} file in a sub-directory or the directory of a
+ sub-project, then the project root becomes the sub-directory itself.
\li \c $QMAKEPATH/mkspecs/features/unix/myfeatures.prf and
\c $QMAKEPATH/mkspecs/features/myfeatures.prf (for each directory
listed in the \c QMAKEPATH environment variable)