Bug 458889

Summary: Parallel-installable Qt5/Qt6 versions of the library
Product: [Frameworks and Libraries] layer-shell-qt Reporter: Aleksei Bavshin <alebastr>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: ales.astone
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.27.2
Sentry Crash Report:

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?