Skip to content

Fix system tray icon on macOS

Weixuan Xiao requested to merge wxiao/kdeconnect-kde:macos-systray-fix into master

Simply add Resources/icons into theme search path.

According to:

When icon themes are installed in a suitable (system) location, applications can be built and deployed as on Linux/BSD provided that the location is registered by calling QIcon::setThemeSearchPath(). This can be done early in the main() function, or in a plugin that Qt loads automatically when the application starts up (a platform theme plugin, for instance). The more usual deployment strategy on those platforms consists of creating standalone applications where each has its own copy of all dependencies and required resources.

https://api.kde.org/frameworks/kiconthemes/html/index.html

Edited by Weixuan Xiao

Merge request reports

Loading