Click to See Complete Forum and Search --> : environment variable in qt install easy question


knavely
05-22-2004, 10:34 PM
i have been trying to install qt for mac os X
i finished the install, but then qmake didnt work properly. I went to the qt web site:
http://www.trolltech.com/developer/platforms/osx.html

and found that my problem is that i had installed a previous version using fink.

my problem is that im totally clueless about what they mean in their solution.

"if you have installed the Qt/X11 package from Fink, it will set the QMAKESPEC enviroment variable to darwin-g++. This will cause problems when you build the Qt/Mac package. To fix this, simply unset your QMAKESPEC or set it to macx-g++ before you run configure. You need to have a fresh Qt distribution (make confclean). "

if someone could translate this it would be great.
i cant figure out where QMAKESPEC is to set it or unset it...

thanks alot

bwkaz
05-23-2004, 08:32 AM
In the shell that you're going to use to compile Qt, do an:

unset QMAKESPEC

before starting. It sounds like you'll have to remove the Qt that you just compiled, and start over... :(

knavely
05-23-2004, 02:00 PM
thanks alot

one more question: do you have any idea how i can remove QT?:o :confused:

bwkaz
05-23-2004, 05:01 PM
No, not really, unless make uninstall from inside the source tree works.

Or, it would be pretty easy if you had installed it into a -prefix where nothing else was yet -- just delete everything under that directory.

You might be able to install overtop of it, though. I'm not sure. I suppose it's worth a shot, if make uninstall doesn't work.