trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2012

Re: [trinity-devel] tdelibs refuses to build

From: Darrell Anderson <humanreadable@...>
Date: Thu, 26 Jan 2012 11:06:40 -0800 (PST)
> thx for the update. This is some very useful information,
> like tqtinterface has to be installed in /usr wich I didn't
> do :(.

From the wiki: :)

NOTE: Until the cmake migration is fully completed, tqtinterface should be built to install with a $PREFIX of /usr rather than /opt/trinity.

> That might also be the reason why tdelibs fails to
> build with automake complaining that qt4 cannot be found
> although tqtinterface has been build only with qt3 and no
> kde4/qt4 is found anywhere on my system. I'll give your
> workaround a try tonight.  If you find the time, please
> post the info on the howto pages to avoid double posts :-)

Regarding the Qt4 messages, from the wiki:

NOTE: To avoid build problems with automake when Qt4 is installed set the following configure options:

    --with-qt-dir=${QTDIR}
    --with-qt-includes=${QTDIR}/include
    --with-qt-libraries=${QTDIR}/lib

NOTE: The only package built with cmake that requires Qt configure options is tqtinterface: -DQT_VERSION=3.

The cmake packages find Qt3 just fine, but tqtinterface needs the -DQT_VERSION=3 option to avoid trying to build against Qt4.

The --with-qt-includes option might get complicated because right now there is a tqtinterface build presumption that (t)qt3 installs the header files to ${QTDIR}/include/(t)qt3. I'm trying to debug this so Tim can provide a more robust solution.

Darrell