Bug 1292106

Summary: Packages of qca for both Qt4 and Qt5 can not co-exist in the same system
Product: [Fedora] Fedora Reporter: Raphael Groner <projects.rg>
Component: qcaAssignee: Rex Dieter <rdieter>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: drizt72, extras-qa, jgrulich, rdieter, sven
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1292093
: 1292107 (view as bug list) Environment:
Last Closed: 2015-12-17 08:46:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1292095    

Description Raphael Groner 2015-12-16 13:43:03 UTC
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:

Comment 1 Raphael Groner 2015-12-17 08:46:44 UTC
Use cmake find_package().

Comment 2 Rex Dieter 2015-12-17 11:33:05 UTC
pkg-config works fine here, I don't understand what the error is?