flavio / qjson

QJson is a qt-based library that maps JSON data to QVariant objects.
http://qjson.sourceforge.net
GNU Lesser General Public License v2.1
287 stars 140 forks source link

Not installable in parallel for Qt4+5 #50

Closed xhochy closed 8 years ago

xhochy commented 10 years ago

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/...

perezmeyer commented 9 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.

rdieter commented 8 years ago

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)

rdieter commented 8 years ago

https://github.com/flavio/qjson/pull/80

flavio commented 8 years ago

Code merged.