Basic Configuration for qmake

Alvin Beach abeach at deepvision.ca
Thu Feb 19 13:26:16 GMT 2004


Hello Tarjei,

I have see the environment variable before but for some reason KDevelop doesn't use the environment when building I guess. I can manually build my project in KDevelop's konsole but typing make. But for some reason, (even if the KDevelop project is configured to use the correct Makefile), I get an error when I do Project->Build. Something about being unable to find the QT build files. The only way to fix this is to manually add the QTDIR variable to the Makefile (even if it's ~/.bash_profile (or ~/.bashrc)).

Any ideas how I can get around this?

Alvin
> 
> From: Tarjei Knapstad <tarjeik at chemcon.no>
> Date: 2004/02/19 Thu AM 08:11:25 AST
> To: "kdevelop at kdevelop.org" <kdevelop at kdevelop.org>
> Subject: Re: Basic Configuration for qmake
> 
> On Wed, 2004-02-18 at 21:40, A Beach wrote:
> > What I have to do is at the variable QTDIR to the Makefile produced by qmake. 
> > Mine looks like:
> > 
> > QTDIR = /usr/lib/qt3
> > 
> > But everytime you run qmake, you will need to re-add the variable.
> > 
> 
> <snip>
> 
> To avoid "re-adding" the variable you can add this to your
> $HOME/.bash_profile
> 
> 	export QTDIR=/usr/lib/qt3
> 
> Log out of X, and the next time you log in this variable will be
> permanently set.
> 
> Cheers,
> --
> Tarjei
> 
> 
> -
> to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
> unsubscribe »your-email-address«
> 


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list