1 |
J. Patrick Campbell wrote: |
2 |
|
3 |
>> Did you set up QT with emerge, or compiling from source? For me, |
4 |
>> QTDIR="/usr/qt/3". (I installed QT with emerge.) |
5 |
> |
6 |
> i emerged Qt |
7 |
|
8 |
I think it's odd that QTDIR isn't already defined for you. Sounds like |
9 |
something else is afoot. (e.g. etc-update wiped out some of your config |
10 |
files.) |
11 |
|
12 |
Here's what it looks like on my system: |
13 |
|
14 |
# grep -ir QTDIR /etc/* |
15 |
/etc/csh.env:setenv QTDIR '/usr/qt/3' |
16 |
/etc/env.d/50qtdir3:QTDIR=/usr/qt/3 |
17 |
/etc/profile.env:export QTDIR='/usr/qt/3' |
18 |
# |
19 |
|
20 |
Note that profile.env is automatically updated by the data in env.d. |
21 |
Probably csh.env, too. See man env-update. |
22 |
|
23 |
Do you have the file /etc/env.d/50qtdir3 ?? Anything like it |
24 |
in /etc/env.d ?? If so, what's its name and what's its contents? |
25 |
|
26 |
> Once this environment variable has been set, to build execute: |
27 |
> |
28 |
> qmake Link-n-Log.pro |
29 |
> make |
30 |
|
31 |
Try this: |
32 |
|
33 |
# QTDIR=/usr/lib/qt3 |
34 |
# echo $QTDIR |
35 |
/usr/lib/qt3 |
36 |
# qmake Link-n-Log.pro |
37 |
...messages |
38 |
# make |
39 |
...messages |
40 |
# |
41 |
|
42 |
If that works out ok, then do this to make the QTDIR variable stick: |
43 |
|
44 |
# echo "QTDIR=/usr/lib/qt3" >> /etc/env.d/50qtdir3 |
45 |
|
46 |
|
47 |
-- |
48 |
G a b r i e l M . B e d d i n g f i e l d |
49 |
|
50 |
|
51 |
-- |
52 |
gentoo-user@g.o mailing list |