diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-04-10 09:27:34 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-04-17 01:00:15 +0200 |
commit | 213770f72d5c94771d3cb9b892be5f902fc6876b (patch) | |
tree | e31f9a69d953737c22cd7613029cceb3d3cc4b11 /src/qmltest | |
parent | 0b594fb3ba2d6b8ac80ec6f09744866a2abe80df (diff) |
quicktest: Workaround for spurious ambiguity issue on Integrity
Explicitly qualify the type with its namespace to remove potential
sources for ambiguity.
Fixes: QTBUG-124229
Change-Id: I967be64e0ce46557478707e3bdf50faed9c2bd23
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qmltest')
-rw-r--r-- | src/qmltest/quicktest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qmltest/quicktest.cpp b/src/qmltest/quicktest.cpp index a10bbb0a15..27bf1dc023 100644 --- a/src/qmltest/quicktest.cpp +++ b/src/qmltest/quicktest.cpp @@ -342,7 +342,7 @@ private: TestCaseEnumerationResult enumerateTestCases( const QQmlRefPointer<QV4::CompiledData::CompilationUnit> &compilationUnit, - const Object *object = nullptr) + const QV4::CompiledData::Object *object = nullptr) { QQmlType testCaseType; for (quint32 i = 0, count = compilationUnit->importCount(); i < count; ++i) { @@ -365,7 +365,7 @@ private: if (!object) // Start at root of compilation unit if not enumerating a specific child object = compilationUnit->objectAt(0); - if (object->hasFlag(Object::IsInlineComponentRoot)) + if (object->hasFlag(QV4::CompiledData::Object::IsInlineComponentRoot)) return result; if (const auto superTypeUnit = compilationUnit->resolvedType(object->inheritedTypeNameIndex) @@ -412,7 +412,7 @@ private: for (auto binding = object->bindingsBegin(); binding != object->bindingsEnd(); ++binding) { if (binding->type() == QV4::CompiledData::Binding::Type_Object) { - const Object *child = compilationUnit->objectAt(binding->value.objectIndex); + const QV4::CompiledData::Object *child = compilationUnit->objectAt(binding->value.objectIndex); result << enumerateTestCases(compilationUnit, child); } } |