Description of problem: > dnf repoquery --list qca-devel.x86_64 |grep .pc /usr/lib64/pkgconfig/qca2.pc > rpm -q qca-qt5-devel qca-qt5-devel-2.1.1-2.fc23.x86_64 > rpmls qca-qt5-devel |grep .pc -rw-r--r-- /usr/lib64/pkgconfig/qca2-qt5.pc > grep Name /usr/lib64/pkgconfig/qca2-qt5.pc Name: QCA > grep Name /usr/lib64/pkgconfig/qca2.pc Name: QCA Version-Release number of selected component (if applicable): qca-qt5-devel-2.1.1-2.fc23.x86_64 How reproducible: yes Steps to Reproduce: 1. dnf install qca-devel qca-qt5-devel 2. do cmake pkg_search_module(QCA qca) 3. Actual results: no idea if it collects Qt4 or Qt5 packages and is it randomly. Expected results: No error, both packages can co-exist. Additional info:
Use cmake find_package().
pkg-config works fine here, I don't understand what the error is?