Bug 501259 - AppImage lacks Qt Wayland support libraries
Summary: AppImage lacks Qt Wayland support libraries
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-AppImage (show other bugs)
Version: 8.6.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-09 12:14 UTC by Nikolaus
Modified: 2025-04-03 18:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaus 2025-03-09 12:14:31 UTC
It seems the most recent appimage snapshot lacks the Qt libraries needed for Wayland support. 

On Debian trixie, I get:

nikratio@vostro ~/tmp> ./digiKam-8.6.0-20250309T070051-Qt6-x86-64.appimage 
-- digiKam Linux AppImage Bundle
-- Use 'help' as CLI argument to know all available options for digiKam application.
-- Notes: to integrate this bundle to your desktop, use AppImageLauncher.
--        to enable all debug messages on the console, use 'export QT_LOGGING_RULES="digikam*=true"'.
--        to extract the bundle contents locally, use option '--appimage-extract' on the command line.
-- Detected host Linux Debian GNU/Linux-64-trixie/sid
-- AppImage mounted directory: /tmp/.mount_digiKaggtK7a
Preloading skipped for libudev.so.0
Preloading             /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0
Preloading skipped for libcrypto.so.1.1
Preloading skipped for libssl.so.1.1
Preloading skipped for libnss3.so
Preloading             /usr/lib/x86_64-linux-gnu/libnssutil3.so
Preloading skipped for libsmime3.so
Preloading             /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0
Preloading skipped for libgnutls.so.30
Preloading             /usr/lib/x86_64-linux-gnu/libnettle.so.8
-- Preloading shared libs: :/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0:/usr/lib/x86_64-linux-gnu/libnssutil3.so:/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0:/usr/lib/x86_64-linux-gnu/libnettle.so.8
unknown: Could not find the Qt platform plugin "wayland" in ""
unknown: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, xcb.

/tmp/.mount_digiKaggtK7a/AppRun: line 261: 389906 Aborted                 digikam $@

This is with:

nikratio@vostro ~/tmp> echo $QT_QPA_PLATFORM
wayland
Comment 1 caulier.gilles 2025-03-09 12:19:13 UTC
This is not a lack, it's wanted.

Wayland sound un-finalized and a lots of problems have been reported previously. So if you want to use digiKam under Wayland, enable the Wayland/X11 compatibility on you computer.

When Wayland will be ready for production, we will revisit this support in the AppImage bundle.

Best

Gilles Caulier
Comment 2 Nikolaus 2025-03-09 12:56:48 UTC
Thanks for the quick response!

Could you clarify what you mean with "enable the Wayland/X11 compatibility on you computer"?

My computer is fully Wayland enabled, including the necessary files for Qt6 (https://packages.debian.org/trixie/qt6-wayland).

(Btw, trixie is Debian testing, not stable)
Comment 3 Nikolaus 2025-03-09 12:58:39 UTC
On second thought, you probably mean to enable XWayland? That is installed and running as well (i.e., I can run regular X11 applications. It's just Digikam that seemingly decided if there's no Wayland, it doesn't even try X11).
Comment 4 Maik Qualmann 2025-03-09 14:46:04 UTC
Try with:

QT_QPA_PLATFORM=xcb ./digiKam-8.6.0-xxxx-Qt6-x86-64.appimage

Maik
Comment 5 caulier.gilles 2025-04-03 16:15:49 UTC
Hi Nikolaus,

The new AppImage bundle 8.7.0 pre-release for Linux based on Qt 6.8.3 will be online in one hour (20:00 Paris time) at usual place :

https://files.kde.org/digikam/

Let's me here if the problem remain.

Best regards

Gilles Caulier
Comment 6 Nikolaus 2025-04-03 18:48:19 UTC
Same result:

> ./digiKam-8.7.0-20250403T180102-Qt6-x86-64.appimage 
-- digiKam Linux AppImage Bundle
-- Use 'help' as CLI argument to know all available options for digiKam application.
-- Notes: to integrate this bundle to your desktop, use AppImageLauncher.
--        to enable all debug messages on the console, use 'export QT_LOGGING_RULES="digikam*=true"'.
--        to extract the bundle contents locally, use option '--appimage-extract' on the command line.
-- Detected host Linux Debian GNU/Linux-64-trixie/sid
-- AppImage mounted directory: /tmp/.mount_digiKaMKk9BN
Preloading skipped for libudev.so.0
Preloading             /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0
Preloading skipped for libcrypto.so.1.1
Preloading skipped for libssl.so.1.1
Preloading skipped for libnss3.so
Preloading             /usr/lib/x86_64-linux-gnu/libnssutil3.so
Preloading skipped for libsmime3.so
Preloading             /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0
Preloading skipped for libgnutls.so.30
Preloading             /usr/lib/x86_64-linux-gnu/libnettle.so.8
-- Preloading shared libs: :/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0:/usr/lib/x86_64-linux-gnu/libnssutil3.so:/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0:/usr/lib/x86_64-linux-gnu/libnettle.so.8
unknown: Could not find the Qt platform plugin "wayland" in ""
unknown: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, xcb.

/tmp/.mount_digiKaMKk9BN/AppRun: line 261: 507123 Aborted                 digikam $@