Qt Declarative (Quick 2)
Go to file
Ulf Hermann 4cdf0643b4 QtQml: Key singletons by singleton instance info
We can keep the singleton instance info the same across multiple types
created in a single registration call. The result is that we only get
one singleton instance per engine, rather than separate ones for each
version. If you invoke qmlRegisterSingletonType separately, you still
get separate instances, though.

[ChangeLog][QtQml][Important Behavior Changes] The QML engine will now
refrain from creating separate instances of a singleton type for each
version it is registered for if the singleton is registered
declaratively (using QML_SINGLETON). The behavior of procedurally
registered singletons (using the qmlRegisterSingletonType() family of
functions) remains the same: For each registration call, a separate
singleton instance is created.

Task-number: QTBUG-116432
Change-Id: Ic8a5de0f88ef530670cfd81b192201a8ab49b2f7
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2023-08-30 14:18:17 +02:00
LICENSES
cmake
coin
dist
examples
features
src QtQml: Key singletons by singleton instance info 2023-08-30 14:18:17 +02:00
tests QtQml: Key singletons by singleton instance info 2023-08-30 14:18:17 +02:00
tools QtQml: Key singletons by singleton instance info 2023-08-30 14:18:17 +02:00
.cmake.conf
.gitattributes
.gitignore
.gitmodules
.tag
CMakeLists.txt
README.md
configure.cmake
dependencies.yaml Update dependencies on 'dev' in qt/qtdeclarative 2023-08-28 11:47:42 +00:00
qt_cmdline.cmake
qtdeclarative.doxy