You need to install redhat-rpm-config which is required by some of the qt switches, probably:
redhat-rpm-config
qt
sudo dnf install redhat-rpm-config