Open
Description
Not sure if it is a documented and supported feature of Q_PROPERTY / MOC, but apparently it supports static members (that would be associated methods in Rust) for READ & WRITE, i.e. property getters and setters.
Examples include QCoreApplication class and its application{Name,Version},organization{Name,Domain}
properties which could be set from any context without obtaining an instance of the application first. Documentation handles this pretty bad though. There is no indication in "Property Documentation" section that "Access functions" are static; however they at listed separately in "Static Public Members" table.
I think that wouldn't too hard to implement in Rust. And I might use it for a driver singleton in my project.