@trusktr said in Auto re-run property bound code in C++ outside of a class?:
@sierdzio Have a look at Solid.js. People are loving the dependency-tracking reactive patterns.
What does that have to do with me? ;-)
What is the Qt equivalent of moving state outside of a QML component and both:
logging it when it changes rendering it inside two different compoments?
Typically this involves creating a C++ object which holds the state, has properties and signals etc. This solves both of your points nicely and keeps UI and logic nicely separated.