On Qt, yes, but if you use native OS widgets the OS can take that duty away from you. So the button could be highlighted without the app getting a single message. Admittingly its just moving the processing elsewhere.
Some of the OS widgets I do feel are more efficient than Qt widgets however (for example, a QTableView or QTreeView with several million items where the native widget takes 9% to keep updated, whilst Qt takes 30%+). This is typically because the Qt variant is far more complex and flexible. I've no doubt a cut-down widget could be done in Qt that can rival the more simple native OS widgets.
Thanks for the link. I now understand what Qt aliens are, why we have them and why they are useful.
QT_USE_NATIVE_WINDOWS=1 certainly seems to work, but I can't help but think it's not really native - it seems to use different windows for each widget, but doesn't use any of the widgets built into the OS. This is acceptable and expected, as the Qt versions have lots more functionality than the native widgets.





Reply With Quote
Bookmarks