qtdeclarative/tests/auto/qml/qqmlecmascript
Ulf Hermann d3b3fef5a8 Qml: Allow const and non-const QObjectWrappers to coexist
We can access the same QObject in const and non-const contexts. Both
should be possible. Store the const objectwrapper in
m_multiplyWrappedObjects. That's somewhat slow, but const QObjects are
rather rare.

Pick-to: 6.4
Fixes: QTBUG-98479
Change-Id: I047afc121f5c29b955cd833e0a2c8299fc52b021
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-09-07 16:57:16 +02:00
..
data Qml: Allow const and non-const QObjectWrappers to coexist 2022-09-07 16:57:16 +02:00
CMakeLists.txt CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers 2022-07-28 14:58:42 +02:00
testtypes.cpp Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
testtypes.h QML engine: Let string match QUrl during overload resolution 2022-07-12 20:17:15 +02:00
tst_qqmlecmascript.cpp Qml: Allow const and non-const QObjectWrappers to coexist 2022-09-07 16:57:16 +02:00