Enable parallel installation of Qt5 and Qt6 version
Closed this issue · 2 comments
topazus commented
@lnjX I try to make qxmpp rpm package on Fedora. I have a question here. Which sub-package can these following files go into, qxmpp-qt5-devel or qxmpp-qt6-devel?
/usr/lib64/cmake/QXmpp/QXmppConfig.cmake
/usr/lib64/cmake/QXmpp/QXmppConfigVersion.cmake
/usr/lib64/pkgconfig/qxmpp.pc
lnjX commented
@topazus The files are needed in both versions (qt 5/6), so users can just use find_package(QXmpp)
(without explicitly setting the major version).
I already received complaints about this from opensuse about this approach though, so not sure this is ideal, but users of QXmpp don't need to change anything in their CMakeLists.txt this way.
I think the opensuse maintainer needed to create an extra package qxmpp-compat
(or something like that) for the files :/