diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-03-01 17:13:56 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-03-09 18:21:32 +0000 |
commit | ebd4d0cbf4274f456930da49f634d3fd465c92d4 (patch) | |
tree | 98d57ce5c075314333940ee238f0a262672cab0d /tests/auto/corelib | |
parent | e591f141171b3e7816dba29278ea15d43c378d9a (diff) |
configure: Fix error when turning on/off non-emitted features
Features that are not emitted in the current
configuration (e.g. plugin-manifests on Linux) should not yield an
error. Instead, print a warning message like Qt5's configure did.
Set insignificant feature to OFF.
Remove the now unneeded emit_if parameter from
qt_feature_set_cache_value.
Fixes: QTBUG-88305
Change-Id: I0f2ce152fca5f08417038c9bd2c07639ff6a3df4
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit c4f5762b20dc20bab3cc62e9166d0e5b36e21cc6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/corelib')
0 files changed, 0 insertions, 0 deletions