diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-07-17 16:10:31 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-07-22 08:29:33 +0000 |
commit | fecefdd36978cf2562f0f16f5f79debff7d07f79 (patch) | |
tree | 161536547f5369d8a463f4398f6a8480592a35ba /dist/changes-2.2.1 | |
parent | 3212f1b8662b5e5483a0185c22820e2d14593aba (diff) |
Fix mapping of features to private features
When a feature generates a private feature, we should not just repeat
the condition but also make it depend on the original feature. In qmake
features had different outputs, while we have a 1:1 mapping. For example
the developer_build feature had "private_tests" as an output feature.
There's no condition attached to the feature and auto-detect is off, so
we'd generate
qt_feature("developer_build" AUTODETECT OFF)
qt_feature("private_tests" AUTODETECT OFF)
and that's wrong, because when the user enables the visible feature
(developer_build) we want it to propagate to the private_tests feature.
Change-Id: Id8408864802fa1e1ed9e67a5f47d1d2fde38d321
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'dist/changes-2.2.1')
0 files changed, 0 insertions, 0 deletions