diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2013-11-01 14:10:36 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-11-11 09:39:06 +0100 |
commit | b314fe164427b931f2c226512b0603047f8e3103 (patch) | |
tree | 6b6fda11a2fe6e4a4b33b1b20539056367f2515c /doc/qbs.qdoc | |
parent | 7e2df73a397743777e4119e3646af17b5561b1a3 (diff) |
Allow lists of patterns in the FileTagger item.
Rationale: It is not uncommon that the same tag is associated
with more than one file pattern; more common, in fact, than the
other way around. It therefore seems silly to force module authors
to create one FileTagger item per file extension.
For semantic consistency, the "pattern" property gets renamed to
"patterns". The old name is still supported in this minor version.
Change-Id: Ia7f744b0903462517582fcb549e2dab004c81dd5
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'doc/qbs.qdoc')
-rw-r--r-- | doc/qbs.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/qbs.qdoc b/doc/qbs.qdoc index 91ff72578..d633434a9 100644 --- a/doc/qbs.qdoc +++ b/doc/qbs.qdoc @@ -417,7 +417,7 @@ property path precompiledHeader // ... FileTagger { - pattern: "*.cpp" + patterns: "*.cpp" fileTags: ["cpp"] } Rule {...} // compiler @@ -603,7 +603,7 @@ When you load the \a cpp module, you also load the following item: \code FileTagger { - pattern: "*.cpp" + patterns: "*.cpp" fileTags: ["cpp"] } \endcode |