If your objects live in different threads then having direct connections between them is a good first step to the end of the world.
Qt does not bring any real-time guarantees. Regardless if you use direct connections or queued ones.I don't want my UI to disrupt my real time part (UI runs under dedicated thread anyway).
It's as possible as exposing any other QML element. "Connections" is by no means different.How is that possible?
And that logging has influence on when your time-critical part gets executed (or not).The application doesn't contain only time critical parts. Javascript gives user an extra flexibility. Let say I need to add some extra logging to my app. I can just write handler which will do logging in QML without recompiling my app. I am fully aware that Javascript handlers run under dedicated JS engine's thread.
You do have that freedom. You just need to enable it for yourself.I just need to have a choice which connection type to use. Real-world applications usually need both.
Bookmarks