Closed xhochy closed 8 years ago
I'm actually looking into packaging QJson in Debian compiling it both for Qt4 and Qt5 as this would definitely reduce porting time for many apps. Changing the names of the libs (and respective sonames) like phonon does it would be indeed excellent.
Here's my first stab at making a parallel-installable qjson-qt5, http://pkgs.fedoraproject.org/cgit/qjson.git/tree/qjson-qt5.patch
I'll see about submitting it as a pull request soonish (assuming this approach is acceptable)
Code merged.
QJson always compiles to the same "name" for Qt4 and Qt5 so that only one of both versions is available. As probably not all software will be able to move of Qt4 immediately, it would be helpful to have QJson installed in parallel for Qt4 and Qt5.
Common practice seems to be to give the Qt5 version a 5 in their name when being installed, e.g. libq5json.so/Q5JSONConfig.cmake/...