summaryrefslogtreecommitdiff
path: root/config_help.txt
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2022-08-16 13:02:27 +0200
committerIvan Solovev <ivan.solovev@qt.io>2022-08-19 23:52:05 +0200
commit2625a3a01ae56cfbfb097e40334d159ee262a6f6 (patch)
tree885fe1d240f6a9a9a6665a1e42570c6f6fbbe76a /config_help.txt
parent18f0484a0ed9785efe5acb4671695772e5715075 (diff)
downloadqtbase-2625a3a01ae56cfbfb097e40334d159ee262a6f6.tar.gz
Add -disable-deprecated-up-to parameter to configure script
And also teach CMake to treat it properly instead of hardcoding the version number. [ChangeLog][Build System] The configure script now accepts a new parameter -disable-deprecated-up-to which is used to remove all deprecated code from API and ABI while building the libraries. The version number must be specified in a hex format. For example, it can be used like this: /path/to/qt/configure -disable-deprecated-up-to 0x060500 to remove all code deprecated in Qt 6.5.0 or earlier releases. Task-number: QTBUG-101510 Change-Id: I557cf83e29b867fa1052bb097985e144b5eaf34d Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'config_help.txt')
-rw-r--r--config_help.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/config_help.txt b/config_help.txt
index bd229c43a4..a02d60e5ce 100644
--- a/config_help.txt
+++ b/config_help.txt
@@ -141,6 +141,16 @@ Build options:
-warnings-are-errors . Treat warnings as errors [no; yes if -developer-build]
+ -disable-deprecated-up-to <version>
+ Set the QT_DISABLE_DEPRECATED_UP_TO value to <version>.
+ QT_DISABLE_DEPRECATED_UP_TO is used to remove
+ deprecated methods from both API and ABI.
+ <version> is a hex value, for example 0x060500 can be
+ used to remove all code deprecated in Qt 6.5.0 or
+ earlier releases.
+ By default <version> is set to 0x040000 and 0x050000 on
+ Windows, and non-Windows respectively.
+
Build environment:
-sysroot <dir> ....... Set <dir> as the target sysroot