Bug 513386

Summary: Digikam Qt6: Full-size image preview fails ("Impossible de charger l’image") while thumbnails work; Qt5 works fine on same system
Product: [Applications] digikam Reporter: pascal lacroix <kikoucalou>
Component: Preview-ImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 9.0.0   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 9.0.0
Sentry Crash Report:
Attachments: Digikam QT6 start log

Description pascal lacroix 2025-12-15 07:37:01 UTC
Created attachment 187655 [details]
Digikam QT6 start log

Summary
Digikam Qt6: Full-size image preview fails ("Impossible de charger l’image") while thumbnails work; Qt5 works fine on same system

Description
I compiled DigiKam from master using Qt6 and KF6.
The application builds and runs correctly, thumbnails are generated and displayed normally.

However, opening an image in the main viewer or full-size preview consistently fails with the message “Impossible de charger l’image”.

The same images work perfectly when DigiKam is built against Qt5 on the same machine.

Steps to Reproduce

Build DigiKam against Qt6 (KF6)

Launch DigiKam

Browse to any folder with JPEG images

Click on an image to open full preview

Expected Result
Image should display in full size.

Actual Result
Error message: “Impossible de charger l’image”.
Thumbnails are still displayed correctly.

Tests Performed

Disabled OpenGL

Disabled hardware acceleration

Forced software rendering

Restarted DigiKam

None of these change the behavior.

Additional Information

Same images

Same system

Same DigiKam version

Qt5 build works perfectly

This suggests a Qt6-specific regression in the full image rendering pipeline.

digiKam: 8.9.0
KDE Frameworks: 6.22.0
Qt: Using 6.10.1 and built against 6.10.1
Linux Mint 22.2 (Xcb)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.14.0-37-generic
Comment 1 Maik Qualmann 2025-12-15 07:45:29 UTC
No digiKam plugins were found. If you install digiKam in a different location, you need to set an environment variable so that digiKam can find the plugins.

Maik
Comment 2 Maik Qualmann 2025-12-15 08:03:39 UTC
The plugin environment variable is: DK_PLUGIN_PATH

Maik
Comment 3 Maik Qualmann 2025-12-15 08:09:25 UTC
Based on other Qt6 error messages, I am not sure if Qt6 is set up correctly and can be used.

Maik
Comment 4 pascal lacroix 2025-12-15 09:40:42 UTC
(In reply to Maik Qualmann from comment #2)
> The plugin environment variable is: DK_PLUGIN_PATH
> 
> Maik

Thanks

I will use it, and give feed-back soon as possible

Pascal
Comment 5 pascal lacroix 2025-12-15 10:54:14 UTC
digiKam: 8.9.0
Environnement de développement de KDE: 6.22.0
Qt: Par utilisation de 6.10.1 et avec compilation avec 6.10.1
Linux Mint 22.2 (Xcb)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.14.0-37-generic

Corrected, It run fine now, thanks

Pascal