When linking against gpgmepp, it's impossible to call gpgme_set_global_flag directly; and this prevents e.g. setting correct gpgme spawn executable path on Windows. The problem arose in LibreOffice (see , and commit ).
I had prepared a PR to old github.com/KDE/gpgmepp . I realize that it's correct that it's closed, so hopefully I do it right this time.