[digikam] [Bug 350446] Port MacOS PKG to Arm64 Apple Silicon.
Michael Miller
bugzilla_noreply at kde.org
Fri Aug 30 03:17:41 BST 2024
https://bugs.kde.org/show_bug.cgi?id=350446
--- Comment #27 from Michael Miller <michael_miller at msn.com> ---
Good to know about gmic. I'll post error logs of the gmic build tomorrow.
The biggest problem I'm running into is Qt not finding the plugins. If I run
digikam without relocating the libraries (still hard-coded to /opt/homebrew),
everything runs fine. Once I rebase the library paths, it can't find the
plugins anymore. I've tried using the qt.conf file to point to the plugins,
and putting the environment variables in the LSEnvironment section of the
Info.plist, but neither works. If I run digikam from the command line, and I
have QT_PLUGIN_PATH and QT_QPA_PLATFORM_PLUGIN_PATH set in the environment it
works fine as well. I am using a different program to relocate the binaries
and run install_make_tool. I have a Python script I wrote a while ago to allow
me to make a relocatable install of MariaDB. I modified RelocatableBinaries in
common.sh to use my tool. It's a bit slower, but it is giving me the results I
need.
Can you think of any reason why it's not picking up the settings in qt.conf?
Per the Qt documentation, I've put qt.conf in Contents/Resources. I've also
tried the bundle root, and Contents/MacOS so it's beside the main binary. It's
just not picking up the settings. I think my next step is to build Qt from
source so I can debug into it to see why it's not using the settings in
qt.conf.
As for the dark-icons, the cmake file is completely different, so the patch
doesn't work. I've looked at it, and I think I can figure it out with a little
time.
if I have time, I'll clone digikam into my own repo so you can see my changes.
One final note, total build time is less than an hour in my UTM arm64 dev VM
from 01-04 if Homebrew is installed in /opt/homebrew. So that's a nice bonus.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the kde-mac
mailing list