diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-11-27 13:32:13 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-12-01 03:38:42 +0000 |
commit | 211ad0f76883459304c7c3161a86ed5e20ffb2b5 (patch) | |
tree | dfbbe15c86ecf298768786f4384ac51b3dacfc09 /src/plugins/platforms/ios/optional/CMakeLists.txt | |
parent | c765b8f280352a7f3262ad3ad992f2dea41985d7 (diff) |
pro2cmake: Fix is_public_module calculation
write_library_section traverses the parent/child hierarchy of scopes to
determine whether the scope belongs to a public Qt module. This doesn't
work for scopes that stem from included .pri files, because each
included file has its own parent/child hierarchy.
We already have an include scope hierarchy in the form of
Scope._included_children, but lack a way to get to the including
scope.
Add Scope._including_scope and adjust the is_public_module calculation
to take that into account after hitting the top of the parent/child
hierarchy.
Change-Id: I8fee1cfbf048e7afc6783b0a52eaca75be17072f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 1a1d3a9a44e6e5946c375509c3f4a3a0fec5282d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/plugins/platforms/ios/optional/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions