Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.9.1
-
None
-
brew/macOS
-
-
PM Pending Features
Description
#machomebrew installs software and resources under /usr/local/share but this path is ignored by Qt Core according to official documentation of QStandardPaths, which states only "~/Library/Application Support" path for resources. This issue makes use of KDE software ports to brew/macOS very hard. At first we had tried to create symlinks manually, e.g.
mkdir "#{Etc.getpwuid.dir}/Library/Application Support/kdevelop" system "ln", "-sf", "#{HOMEBREW_PREFIX}/share/icons/breeze/breeze-icons.rcc", "#{Etc.getpwuid.dir}/Library/Application Support/kdevelop/icontheme.rcc"
Which is considered to be a hack. But in recent release of brew even this hack doesn't work and produces error, because brew now builds formulas in sandbox, and "~/Library/Application Support" is obviously outside of sandbox.