Detecting system tray background color
Unsolved
General and Desktop
-
Hello,
I'm trying to implement monochrome tray icons for my Qt app, and to make it work I need to choose a correct icon depending on the tray color scheme. I can't rely on the system's light / dark theme, because it doesn't necessarily reflect the color of the tray. For example, the tray is always dark on macOS regardless of the theme, while on KDE Breeze its color follows the theme by default.
Is there a good way of choosing monochrome icons color? Will appreciate your ideas, because I don't have any.
/ Constantine
-
Hi,
I don't think you can do this using Qt only... and probably there is no platform independent way to do this.