[kde-freebsd] Qt4 prefix

David Johnson david at usermode.org
Mon Jun 16 08:27:23 CEST 2008


On Sunday 15 June 2008 10:56:56 pm M. Yu. Brazhnikov wrote:
> On Mon 16 Jun 2008, David Johnson wrote:
> > No use complaining, time to start coding. If no one stops me via
> > strenuous objection, I am going to start changing the area51/qt4* ports
> > to install to /usr/local/qt4.
>
> The problem is that qt3 installs headers to ${LOCALBASE}/include. Moving
> qt4 to own prefix doesn't resolve various build fails, as long as
> ${LOCALBASE}/include is in include path. What about moving all qt3 headers
> to ${LOCALBASE}/include/qt3 ?

According to Trolltech support, and Thiago, the Qt headers *must* come before 
any system headers. If it doesn't, then this is an error with the KDE cmake 
files. Trolltech and KDE are not going to support the FreeBSD way of doing 
things. Qt3 and Qt4 cannot live together in the same QTDIR.

I figured it was easier adjusting qt4 than qt3.

-- 
David Johnson


More information about the kde-freebsd mailing list