summaryrefslogtreecommitdiffstats
path: root/src/plugins/styles
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-11-27 13:32:13 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-11-30 23:17:40 +0100
commit1a1d3a9a44e6e5946c375509c3f4a3a0fec5282d (patch)
tree8ef631278e7789eff8a5dfdd827d44dbad4e74bf /src/plugins/styles
parentc140b26959038ada22452079ebc6e33195e9957d (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. Pick-to: 6.0 Change-Id: I8fee1cfbf048e7afc6783b0a52eaca75be17072f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/plugins/styles')
0 files changed, 0 insertions, 0 deletions