Ok, I was able to reproduce the crash in IceWM like this: - install qtcurve-qt5 and qt5ct - run qt5ct, set Style to "QtCurve" (on the Appearance tab that should be open on start) and click OK - logout/login to "activate" qt5ct (or run "export QT_QPA_PLATFORMTHEME='qt5ct'" manually) - run pinentry-qt and enter "BYE" Should work like this on any other desktop as well, because the "export QT_QPA_PLATFORMTHEME='qt5ct'" should force Qt5 to use qt5ct regardless of the desktop session.