I am trying to build my project using OBS. Debian, Ubuntu, Arch, SLE and openSUSE works fine, but Fedora and Centos fail on CMake not finding Qt. The log says, that Qt was installed properly.
I have tried replacing
cmake(Qt5) but it made no difference.
Spec file: https://build.opensuse.org/package/view_file/home:jdupak/qtrvsim/qtrvsim.spec?expand=1
Any idea, what happens there?