Bug 512375

Summary: Build Instructions to integrate G'Mic-QT Tool missing
Product: [Applications] digikam Reporter: Jens Westemeier <Jens_Westemeier>
Component: Bundle-AppImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, fabian
Priority: NOR    
Version First Reported In: 8.8.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 9.0.0
Sentry Crash Report:

Description Jens Westemeier 2025-11-20 09:42:46 UTC
In the rpm build of OpenSuse, the G'Mic-QT Tool  is missing. It seems to be unclear, how to integrate the tool into the build.
https://bugzilla.suse.com/show_bug.cgi?id=1253769
Comment 1 Fabian Vogt 2025-11-20 09:54:17 UTC
> It seems to be unclear, how to integrate the tool into the build.

No, that's documented: https://github.com/cgilles/digikam-gmic-qt

It would just be much nicer if it could use upstream gmic-qt or make it possible to have just one gmic-qt that can be built for gimp/krita/digikam/...
Comment 2 caulier.gilles 2025-11-20 09:55:26 UTC
I will add the necessary instructions in the download/git page :

https://www.digikam.org/download/git/

But a first notice is to checkout the repository from github :

https://github.com/cgilles/digikam-gmic-qt

Configure, compile, and install with cmake as usual. digiKam must be installed before as the plugin uses the program API.

Gilles Caulier
Comment 3 caulier.gilles 2025-11-20 10:01:24 UTC
>It would just be much nicer if it could use upstream gmic-qt

I do the upstream and i validate the usage with digiKam at each Gmic-Qt stable release.

>or make it possible to have just one gmic-qt that can be built for gimp/krita/digikam/...

No, as we patch the GMicQt API to be compatible with digiKam API. The original way to communicate between the host application and the plugin is complex, slow, and not necessary (it use a socket pipeline). We proposed the digiKam way but it have been refused by GMicQt team in the past. So my solution works as expected under Linux, macOS, and Windows (it's not the case with the original solution).

Another point: we provide 3 GmicQt plugin for digiKam : icon-view, BQM, and editor. The original solution only support the editor plugin.

If you are curious about my patches against the original implementation from GmicQt look here :

https://github.com/cgilles/digikam-gmic-qt
Comment 4 Fabian Vogt 2025-11-20 10:04:09 UTC
(In reply to caulier.gilles from comment #3)
> >or make it possible to have just one gmic-qt that can be built for gimp/krita/digikam/...
> 
> No, as we patch the GMicQt API to be compatible with digiKam API. The
> original way to communicate between the host application and the plugin is
> complex, slow, and not necessary (it use a socket pipeline). We proposed the
> digiKam way but it have been refused by GMicQt team in the past. So my
> solution works as expected under Linux, macOS, and Windows (it's not the
> case with the original solution).
> 
> Another point: we provide 3 GmicQt plugin for digiKam : icon-view, BQM, and
> editor. The original solution only support the editor plugin.
> 
> If you are curious about my patches against the original implementation from
> GmicQt look here :
> 
> https://github.com/cgilles/digikam-gmic-qt

Can the forked gmic-qt be built and used with gimp/krita/... without downsides or do we need separate gmic-qts in the distro for the foreseeable future?
Comment 5 caulier.gilles 2025-11-20 10:15:05 UTC
>Can the forked gmic-qt be built and used with gimp/krita/... without downsides or do we need separate gmic-qts in the distro for the >foreseeable future?

I ask to the Krita plugin maintainer to work on a common implementation, but the response was negative... So i do it all myself as usual, and all works as expected.
Comment 6 caulier.gilles 2025-11-20 12:54:14 UTC
Git commit 5794c556c7f5b333bb24b024f0eb161409c3c7dd by Gilles Caulier.
Committed on 20/11/2025 at 12:53.
Pushed by cgilles into branch 'dev'.

Web Site : Add section to compile and install GmicQt plugin from Git in the download/git page.
FIXED-IN: 8.9.0

M  +64   -1    content/download/git.md
A  +-    --    static/img/content/download/digikam_gmicqt.webp
A  +-    --    static/img/content/icons/gmicqt.webp

https://invent.kde.org/websites/digikam-org/-/commit/5794c556c7f5b333bb24b024f0eb161409c3c7dd
Comment 7 caulier.gilles 2025-11-20 13:01:55 UTC
See this section from the updated page : https://www.digikam.org/download/git/#configure-compile-and-install-gmicqt
Comment 8 Jens Westemeier 2025-11-20 13:10:34 UTC
Thanks,
Jens