diff options
author | Leena Miettinen <riitta-leena.miettinen@digia.com> | 2013-08-22 13:25:29 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-04 09:48:51 (GMT) |
commit | 8d120435d7fce0e29b33900b7ddf81c4e9f0b50e (patch) | |
tree | 4b1ddc29be018d6fbe0317f2e24b09caa127fc82 | |
parent | 41372579efec1573179ad1eb8e5331723b6567c3 (diff) | |
download | Qt-8d120435d7fce0e29b33900b7ddf81c4e9f0b50e.zip Qt-8d120435d7fce0e29b33900b7ddf81c4e9f0b50e.tar.gz Qt-8d120435d7fce0e29b33900b7ddf81c4e9f0b50e.tar.bz2 |
Doc: update Project Options section in qmake Manual
Explain which mkspecs have the configuration option
precompile_header set.
Task-number: QTBUG-25683
Change-Id: I9b11eafad16b65523cbb90897fe88829add58bea
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
(cherry picked from qtbase/ad4bda8b754a5fb4f7c6d5c4c3b941579df83c41)
-rw-r--r-- | doc/src/development/qmake-manual.qdoc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/src/development/qmake-manual.qdoc b/doc/src/development/qmake-manual.qdoc index 49d7bd8..33ce5ac 100644 --- a/doc/src/development/qmake-manual.qdoc +++ b/doc/src/development/qmake-manual.qdoc @@ -4769,9 +4769,12 @@ \l{qmake Manual#qmake}{\c qmake} will do this if the configuration supports PCH. - All platforms that support precompiled headers have the configuration - option \c precompile_header set. Using this option, you may trigger - conditional blocks in your project file to add settings when using PCH. + The MSVC and g++ specs targeting Windows (and Windows CE) enable + \c precompile_header by default. + + Using this option, you may trigger + conditional blocks in your project file to add settings when using + precompiled headers. For example: \snippet doc/src/snippets/code/doc_src_qmake-manual.pro 106 |