error while loading shared libraries: libKF6WindowSystem.so.6 in 1.3.1-2

Description:

In 1.3.1-2 the command echo "test" | gpg --clearsign outputs:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

test
gpg: signing failed: No pinentry
gpg: [stdin]: clear-sign failed: No pinentry

Downgrading to the previous version via sudo pacman -U /var/cache/pacman/pkg/pinentry-1.3.0-1-x86_64.pkg.tar.zst asks for the password and signs correctly.

Additional info:

  • my .gnupg/gpg-agent.conf:
pinentry-program /usr/bin/pinentry-qt
  • /usr/bin/pinentry-qt in 1.3.0-1:
OK Pleased to meet you
  • /usr/bin/pinentry-qt in 1.3.1-2:
/usr/bin/pinentry-qt: error while loading shared libraries: libKF6WindowSystem.so.6: cannot open shared object file: No such file or directory