[PATCH gpgme] qt: Fix DLL version in cmake config files

Biswapriyo Nath nathbappai at gmail.com
Sat Jul 8 18:01:20 CEST 2023

> I think this is still wrong because it should certainly be @resolved_bindir@
> as below because the DLL is installed in bindir.

Yes, I was going to send that patch after this one is merged. Should I
send both fixes in one patch?

> Makes me wonder when/how IMPORTED_LOCATION is used because, apparently, we
> never had any problems linking libkleo and kleopatra against QGpgME with MinGW
> despite IMPORTED_LOCATION pointing to a not existing file.

It seems that the `find_package(QGpgme CONFIG)` call succeed if
QGpgmeConfig.cmake and QGpgmeConfigVersion.cmake file is present. The
existence of .dll or .dll.a file was not checked by cmake. I found
that using Process Monitor in Microsoft Windows OS (filter: path
contains qgpgme).

More information about the Gnupg-devel mailing list