Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to react to light/dark mode changes in macos?



  • Hi,

    I have an app with highly customized UI and I need to know what mode is used in macos when the app starts and I need to listen to changes in the mode.

    But I can't find the rith Qt API to deal with this.

    Thanks.


  • Lifetime Qt Champion

    Hi,

    Because, AFAIK, there's currently nothing specific for that available. You should check the macOS API to see if there's an event or equivalent that you can catch.


Log in to reply