diff options
| author | Fabian Kosmale <fabian.kosmale@qt.io> | 2025-09-23 16:52:57 +0200 |
|---|---|---|
| committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2025-09-24 00:29:50 +0200 |
| commit | 9d768789ffd69a92354fdef0c29b25f9e54b4e22 (patch) | |
| tree | b612d3f9f92224ab44cff6e3adc9ce42f0ad190f /src/labs/synchronizer/qqmlsynchronizer.cpp | |
| parent | 7b70ea74306e541dc5b8cd45b32e27596fd05db8 (diff) | |
Synchronizer: Add a note about using it with singletons
Notably, that you can't use aliases.
Fixes: QTBUG-139608
Pick-to: 6.10
Change-Id: I984dea6695419b11f777e7ad516b4c15ead6c3ed
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/labs/synchronizer/qqmlsynchronizer.cpp')
| -rw-r--r-- | src/labs/synchronizer/qqmlsynchronizer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/labs/synchronizer/qqmlsynchronizer.cpp b/src/labs/synchronizer/qqmlsynchronizer.cpp index d8246705ba..2f64161834 100644 --- a/src/labs/synchronizer/qqmlsynchronizer.cpp +++ b/src/labs/synchronizer/qqmlsynchronizer.cpp @@ -409,6 +409,10 @@ public: If the properties to be synchronized are of different types, the usual QML type coercions are applied. + + \note It is not possible to create an alias to a property of a singleton. + When using Synchronizer together with singletons, use \l{sourceObject} and + \l{sourceProperty} and the respective target properties. */ QQmlSynchronizer::QQmlSynchronizer(QObject *parent) |
