diff options
author | James McDonnell <jmcdonnell@qnx.com> | 2016-03-18 11:32:13 -0400 |
---|---|---|
committer | James McDonnell <jmcdonnell@qnx.com> | 2016-04-19 00:00:58 +0000 |
commit | cc1a28d07e0771300403c06a00742b8648d3f70d (patch) | |
tree | 7bcb6ba9b145950c55c3a7dae696296bf214d6fe /src/network/access | |
parent | f1e0eedcf501936e6b4f77b6fe3ac4997d757d94 (diff) |
Add the ability to change precompiled header use
Give the Windows configureapp the same -pch/-no-pch arguments found in
the Linux configure script. Using command line arguments to
enable/disable precompiled header use is preferable to mkspec changes.
Make -pch the default for all toolchains. In particular, this makes
-pch the default for QNX on Windows. Previously, QNX on Windows had
an implied default of -no-pch. Precompiled headers are the default
for QNX on Linux; they should also be the default for QNX on Windows.
A 'dictionary["PCH"] = "no"' will need to be added in
Configure::applySpecSpecifics for any toolchain that should default to
-no-pch (none known at this time).
-no-pch is implemented by putting a "CONFIG -= precompile_header"
in qmodule.pri. This ensures that Qt is built without precompiled
headers (as requested) even if allowing precompiled header use is the
default for the toolchain.
Task-number: QTBUG-52578
Task-number: QTBUG-11545
Change-Id: I1b59bc2d416c5ba169161c5b3cc13accd76eeac8
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/network/access')
0 files changed, 0 insertions, 0 deletions