I need to install qt6 pkg-config related information to be able to build freeciv from source. I do not need to install freeciv from repo - I do changes to freeciv sources, so I need to compile it.
Problem is I cannot install information to pkg-config.
I have wrote this simple command:
zypper in `for a in $(zypper search -i qt | tail -n +6 | cut -d'|' -f2); do echo pkgconfig\(${a}\);done`
But it complains there is no provider for pkgconfig(packagename).
What I am doing wrong?