diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2021-12-02 12:15:07 +0100 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-12-03 13:55:40 +0000 |
| commit | cb8b50193f53ea56304abf14aba5da6a563f5016 (patch) | |
| tree | 72a61176fb1510012f144a2320cf802da2b00a00 /src/quicktestutils/qml/testhttpserver.cpp | |
| parent | d9928cd94071039b437efba113d66c4fee456c2e (diff) | |
QQmlTypeNameCache: Unify querying for types
Template all of the code and make sure the different query variants do
the same work. There is no reason not to query the namespaced imports if
we are passed a different string type as parameter. If we want to skip
the namespaced imports, that is a separate parameter.
This needs to be picked to 6.2 as precondition for fixing
AOTCompiledContext::initLoadAttachedLookup. We need to pass a
QQmlImport::RecursionRestriction when querying by QHashedStringRef.
Change-Id: I98aecc7775036728668cc93f550aa73fdefafe9a
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 8762e2fb681acb2947d2dd7243da12e546582723)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/quicktestutils/qml/testhttpserver.cpp')
0 files changed, 0 insertions, 0 deletions
