I ran RunProcess[{"/usr/bin/kdialog", "--yesno", "Yes?"}] in Mathematica on a raspberry pi with kde and it gives me:
"StandardError" ->
"/usr/bin/kdialog: relocation error: \
/opt/Wolfram/WolframEngine/12.1/SystemFiles/Libraries/Linux-ARM/Qt/\
plugins/platforms/../../lib/libQt5XcbQpa.so.5: symbol \
_ZN22QWindowSystemInterface25handleWindowScreenChangedEP7QWindowP7QScr\
een version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with \
link time reference
"|>```
The command works fine in Konsole.