How to use SF Symbols dynamically with QIcon::fromTheme()?
-
Hi Qt Folks!
I would like to be able to use SF Symbols in an existing GPL cross-platform Qt application on macOS. SF Symbols can export to SVG or other formats for use with XDG icon themes, but the licensing of SF Symbols is not generally compatible with being incorporated into GPL code. (I might be misunderstanding the issues here, but this is somewhat of legal issue more than a technical one.)
Anyway, is there a particularly straightforward way to access SF Symbols dynamically from Apple's libraries using Qt, in order to be able to link them dynamically for use in a quasi-XDG icon theme? I'm mainly asking in the context of Qt for Python, but it would be useful to know for Qt for C++, as well.
(I'm sure there's a way to build a quasi-XDG SF Symbols interface for macOS if one doesn't exist already, but that's a little bit beyond me at the moment, which is why I'm asking more specifically in the context of Qt.)
Thanks!
-
Modmins, please feel free to move this topic to a different category if you feel it would be more appropriate. The category descriptions made it kind of difficult to choose in this case.