[Development] qt 4/5 co-installs

Uwe Rathmann Uwe.Rathmann at tigertal.de
Wed Jun 27 08:03:46 CEST 2012


On 06/27/2012 07:12 AM, Girish Ramakrishnan wrote:
> As you say, one solution is to have distros package the Qt4 and Qt5
> libs with different prefix as /usr/lib/qt4 and /usr/lib/qt5. Certainly
> makes it easy for us but I guess there is a reason why all libs are
> stuck under /usr/lib ?

Well Qt is not the only piece of software, that needs to live in 
different versions on the same system. Having individual paths for all 
of them ...

A related note: distros also install Qt addon libraries ( here Qwt ) 
under /usr/lib. Unfortunately qmake/qtAddLibrary prepends - instead of 
appending - this path ( the include path too ) what leads to conflicts, 
when trying to build a local version of the addon library.

Uwe



More information about the Development mailing list