1 |
On Wed, 17 Aug 2005 02:21:24 +0200, Daniel Vrcic wrote: |
2 |
|
3 |
> For one-time use you can do the following: |
4 |
> |
5 |
> # export PATH=/usr/qt/3/bin:$PATH |
6 |
> |
7 |
> Then you can compile your program from the same terminal you typed the |
8 |
> command above. |
9 |
> |
10 |
> For long-term use you should add that command to your shell's |
11 |
> configuration file. If your shell is bash (default) then that conf. file |
12 |
> will be $HOME/.bashrc . |
13 |
|
14 |
This should already be set up when you installed qt. |
15 |
|
16 |
[nelz@krikkit ~]$ cat /etc/env.d/45qt3 |
17 |
PATH=/usr/qt/3/bin |
18 |
ROOTPATH=/usr/qt/3/bin |
19 |
LDPATH=/usr/qt/3/lib |
20 |
QMAKESPEC=linux-g++ |
21 |
MANPATH=/usr/qt/3/doc/man |
22 |
|
23 |
System wide paths should be put in /etc/env.d, don't forget to run |
24 |
etc-update after doing so. |
25 |
|
26 |
|
27 |
-- |
28 |
Neil Bothwick |
29 |
|
30 |
He's dead, Jim. Just like your career. |