qt5: make keg_only due to qt conflict.

References #16471.
References #16921.