[Interest] How to get active button color in macOS?

Patrick Stinson patrickkidd at gmail.com
Wed Jan 30 12:27:48 CET 2019


Hello!

I am trying to figure out how to get the following color for macOS (see screenshot) which is called “Accent Color" in the General section of System Preferences.

I haven’t had much luck with QPalette yet, but I could be blind. I’m using Qt-5.12.0.

Thanks!
-Patrick



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190130/6133b984/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image 1-30-19 at 2.25 AM.jpg
Type: image/jpeg
Size: 170569 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190130/6133b984/attachment.jpg>


More information about the Interest mailing list