compiling qt3

David A. Bandel david
Mon May 17 11:32:44 PDT 2004


On Tue, 4 Jun 2002 14:28:37 +1000
begin  Keith Antoine <kantoine at bigpond.net.au> spewed forth:

> On Tuesday 04 June 2002 12:00 pm, you wrote:
> 
> > I don't mean to imply that you did not do this, but on WS 3.1, I had
> > to pass "--prefix /usr/lib/qt3" to configure.  Even with all the
> > environment variables set, configure just wouldn't run without it.
> 
> this is the result, wierd hey!
> 
> [root at bigpond qt-x11-free-3.0.4]# ./configure --prefix=/usr/lib/qt3
> 
> 
>    The environment variable $QTDIR is not set correctly. It is currently
>    set to "/usr/lib/qt2", but it should be set to this directory,
>    which is "/build/qt-x11-free-3.0.4".

The error message is pretty explicit.  They could, however, have just set
it for you rather than dumping on you.

When you build QT, you have to have QTDIR point to the build directory. 
Simplest incantation here would be:
export QTDIR=`pwd`;./configure <your options here>

Once you build QT and move it where you want (/usr/lib/qt3), then you set
QTDIR to _that_ location.

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
		-- Nemesis Racing Team motto



More information about the Linux-users mailing list