You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Thread Dispatcher / SynchronizationContext for Qt Thread #2
Title: Feature Request: Support running code on the Qt thread from background tasks (Dispatcher / SynchronizationContext)
Is your feature request related to a problem? Please describe.
Setting properties from a background thread-pool task isn't safe, and currently, there is no built-in dispatcher or synchronization context to jump back to the Qt/UI thread.
As a workaround in view models, I have to use a concurrent queue and a polling timer in QML:
And in QML: Timer { interval: 250; onTriggered: vm.poll() }. This works, but introduces extra latency and polling overhead.
Steps to reproduce
.
Expected behavior
Describe the solution you'd like
A Qt.Dispatcher.Post(Action) or a SynchronizationContext bound to the Qt thread, allowing await continuations to update view model properties safely and directly.
Activity
github-actions commentedon Nov 12, 2026
Thank you for the report. It is now tracked as QTBRIDGES-465 in the Qt bug tracker. Please follow up there.