summaryrefslogtreecommitdiff
path: root/src/qml/doc/snippets/qtjavascript/integratingjswithcpp/exampleqjsengine.cpp
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2022-05-03 17:08:37 +0200
committerAndrei Golubev <andrei.golubev@qt.io>2022-05-09 16:50:07 +0200
commita287e862d467b21a8007698f8390088bdf887b44 (patch)
tree890e9be20d0953a82a312b3a6cd7f464d869c942 /src/qml/doc/snippets/qtjavascript/integratingjswithcpp/exampleqjsengine.cpp
parent11d2767f09560c54f1b846e897f74f34b04f04ad (diff)
downloadqtdeclarative-a287e862d467b21a8007698f8390088bdf887b44.tar.gz
Fix extension lookup in QQmlJSScope
Do not go over extension's base types since this is not how the engine logic work. Instead, only assess the direct extension type when traversing the base type hierarchy. The special cases are value types which still need base type extension traversal (e.g. due to Number and NumberPrototype extensions on primitives) and QObject type itself (we expect to see ObjectPrototype properties / methods of it) Pick-to: 6.3 6.2 Change-Id: I92ba979202b33f16e1a7b948d4f1e79df37f2669 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/doc/snippets/qtjavascript/integratingjswithcpp/exampleqjsengine.cpp')
0 files changed, 0 insertions, 0 deletions