On cpe:/o:opensuse:tumbleweed:leap:15.6, sudo zypper in --recommends -t pattern devel_qt6 [1] remediated this for me. The cause was that I had installed solely some of the Qt libraries, whereas I needed all of them (or, certainly, more than I had).