trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2011

Re: [trinity-devel] configure: error: Qt (>= Qt 4.3 and < 5.0)...

From: Darrell Anderson <humanreadable@...>
Date: Sat, 5 Nov 2011 09:11:54 -0700 (PDT)
> > I'm trying to build the 3.5.13 packages from the
> tarballs. I keep
> > seeing the following error:
> > 
> > checking for Qt... checking for pkg-config...
> /usr/bin/pkg-config
> > configure: error: Qt (>= Qt 4.3 and < 5.0)
> (library QtCore -lQtGui
> > -lQtNetwork -ltqt-mt) not found. Please check your
> installation!
> > 
> > I looked at the logs, configure, etc., but I don't see
> anything
> > obvious.
> > 
> > What is the magic trick?
> You probably built the Qt4 tqtinterface. My build script
> includes
> -DWITH_QT3=1 which tells tqtinterface to use Qt3 instead.

To clarify, the error occurs with those tarballs that are built with autotools. I did not find an equivalent -DWITH_QT3 option in the autotools configure script.

I am able to avoid the error with those tarballs by removing the QT4 package. I had read that Trinity can be built with QT4 installed, but perhaps that applies only to cmake and not autotools?

Darrell