QTDIR Environment Variable problem
I have installed qt3 on my laptop machine running SuSE 9.0 with KDE 3.1
windowmanager.
I have a simple project in a direatory called QtWindowWithButtons that
just makes a Qt window with three buttons.
I am able to run qmake and when i run make it cannot find the header
files. This is of course is an include problem. I know that Qt Makefiles
use a QTDIR environment that specifies qt directory...in my case being
/usr/lib/qt3. However, if i say QTDIR=/usr/lib/qt3 and then echo $QTDIR
in Konsole, I get /usr/lib/qt3. This is as expected, but when i type
qmake, then make it uses /include instead of /usr/lib/qt3/include.
This is because i forgot to export QTDIR.
So I did that and it worked fine, however when I reboot of course the environment variable is no longer set. I guess my qeustion is, is there a way to permanently set environment variables. I know that I can modify my .bashrc file to set it whenever I open up a Konsole. But on system boot up, is there like a registry that I can change to set an environment variable. Like the Windows Registry???
Please provide any advice on this matter...
|