| Summary: | Build system and documentation issues on ARM64 Linux | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | sean <seanxiaoxiang> |
| Component: | Portability-Compilation | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | caulier.gilles |
| Priority: | NOR | ||
| Version First Reported In: | 9.1.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | Version Fixed/Implemented In: | 9.1.0 | |
| Sentry Crash Report: | |||
|
Description
sean
2026-04-10 09:58:45 UTC
* "Dependency handling is complex across platforms For example, on Linux, after using https://github.com/cgilles/digikam-install-deps.git to install dependencies, packaging the result as an AppImage becomes problematic because some dependency paths need to point to /opt/qt6/*." > We install in /opt/Qt6 to not mix with the system libs. By this way, qt5 (always supported) come from /usr/, Qt6 come from /opt/. Here my main dev computer is a macbook pro M1 Silicon (arm64). I run a VM (using UTM) with Ubuntu 24.04LTS and Plasma desktop. I compile last Qt 6.11 without problem installed in /opt/qt6 and Qt5 is installed in /usr using standard packages. No problem to support arm64 at all. * "In addition, Qt6 on ARM64 has specific OS requirements. According to the Qt documentation (https://doc.qt.io/qt-6/linux.html), ARM64 is only supported on certain Linux distributions: Ubuntu 24.04 (GCC 13.x) Debian 11.6 (GCC 10) Debian 12 (GCC 12) However, this requirement does not appear to be checked in https://github.com/cgilles/digikam-install-deps.git." > Fell free to provide a merge request for this feature. Git commit 7056d2d167bbec267b3fa1c22317d4b3ec2d4078 by Gilles Caulier. Committed on 11/04/2026 at 08:01. Pushed by cgilles into branch 'dev'. fic build directory M +1 -1 content/download/git.md https://invent.kde.org/websites/digikam-org/-/commit/7056d2d167bbec267b3fa1c22317d4b3ec2d4078 In addition, Qt6 on ARM64 has specific OS requirements. According to the Qt documentation (https://doc.qt.io/qt-6/linux.html), ARM64 is only supported on certain Linux distributions: Ubuntu 24.04 (GCC 13.x) Debian 11.6 (GCC 10) Debian 12 (GCC 12) However, this requirement does not appear to be checked in https://github.com/cgilles/digikam-install-deps.git. > The supported configurations list given at https://doc.qt.io/qt-6/linux.html#supported-configurations especially for Arm64 are the platteforms used with the CI used by Qt team to check if compilation pass or not. Other extra configuration can works of course. Qt team must limit the test cases here. It's the same for Intel support. It would also be helpful to have a build system that clearly separates outputs for different platforms, similar to:
gn gen out/android_debug
gn gen out/ios_debug
I hope these points are useful. If there is interest in improving the build system, I would be very happy to help in any way I can.
> Definitively no. Cmake toolkit is used here to check dependencies across different platforms.
|