Sat Nov 24, 2018 3:52 pm
kdialog != KDialog
kdialog is the shell command, KDialog is the C++ class. The latter is deprecated, and you port to QDialog. The former is still available, and ported to Qt 5.
EDIT: If gentoo does not offer the Qt 5 port of kdialog, ask in a Gentoo forum for correct package name.