Bug 2364151

Summary: BuildRequires: pkgconfig(Qt5UiTools) installs qt5-qttools-static
Product: [Fedora] Fedora Reporter: Jaroslav Škarvada <jskarvad>
Component: qt5-qttoolsAssignee: Than Ngo <than>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: jgrulich, kde-sig, pemensik, rdieter, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-05-06 12:40:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jaroslav Škarvada 2025-05-05 18:23:59 UTC
Package has:
BuildRequires: pkgconfig(Qt5UiTools)

and qt5-qttools-static with the static library is installed.

Also cmake in the package has:
find_package(Qt5UiTools REQUIRED)

which requires:
Qt5UiToolsConfig.cmake or
qt5uitools-config.cmake

and it's fullfilled only by the qt5-qttools-static package.

It's qdmr package. I think it should use shared library by default.


Reproducible: Always

Steps to Reproduce:
1. Use BuildRequires: pkgconfig(Qt5UiTools) or find_package(Qt5UiTools REQUIRED) in cmake
2.
3.
Actual Results:
Fulfilled by qt5-qttools-static which contains static library.

Expected Results:
I think it should be fulfilled by qt5-qttools-devel with the dynamic library.

Additional Information:
Encountered when packaging the qdmr package into Fedora.

Comment 1 Jan Grulich 2025-05-06 12:40:19 UTC
There is only a static library for libQt5UiTools, therefore it is in the -static subpackage.