Bug 458889 - Parallel-installable Qt5/Qt6 versions of the library
Summary: Parallel-installable Qt5/Qt6 versions of the library
Status: RESOLVED FIXED
Alias: None
Product: layer-shell-qt
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-08 18:00 UTC by Aleksei Bavshin
Modified: 2023-11-21 09:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.27.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksei Bavshin 2022-09-08 18:00:58 UTC
SUMMARY
Qt5 and Qt6 builds of the library are currently installed with the same library name and CMake package name.

This makes it impossible to provide both builds in a distribution package. It also makes not possible (or at least unsafe) to use the library from the apps with Qt5/6 build options - `find_package(layer-shell-qt)` does not really tell you what Qt version is used by the library and how it corresponds to the application's target Qt version.

While changing the Qt5 artifacts might be too late, can you at least version the Qt6 build as libLayerShellQt6/ layer-shell-qt6 cmake package?