From 8d120435d7fce0e29b33900b7ddf81c4e9f0b50e Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Thu, 22 Aug 2013 15:25:29 +0200 Subject: 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 (cherry picked from qtbase/ad4bda8b754a5fb4f7c6d5c4c3b941579df83c41) --- doc/src/development/qmake-manual.qdoc | 9 ++++++--- 1 file 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 -- cgit v0.12