Gentoo Archives: gentoo-user

From: "J. Patrick Campbell" <patrick@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Re: Qt environment variable
Date: Sat, 04 Dec 2004 22:21:25
Message-Id: 48077.192.168.1.113.1102198914.squirrel@192.168.1.113
In Reply to: [gentoo-user] Re: Re: Qt environment variable by "Gabriel M. Beddingfield"
1 On Sat, December 4, 2004 5:15 pm, Gabriel M. Beddingfield said:
2 > J. Patrick Campbell wrote:
3 >
4 >>> Did you set up QT with emerge, or compiling from source? For me,
5 >>> QTDIR="/usr/qt/3". (I installed QT with emerge.)
6 >>
7 >> i emerged Qt
8 >
9 > I think it's odd that QTDIR isn't already defined for you. Sounds like
10 > something else is afoot. (e.g. etc-update wiped out some of your config
11 > files.)
12 >
13 > Here's what it looks like on my system:
14 >
15 > # grep -ir QTDIR /etc/*
16 > /etc/csh.env:setenv QTDIR '/usr/qt/3'
17 > /etc/env.d/50qtdir3:QTDIR=/usr/qt/3
18 > /etc/profile.env:export QTDIR='/usr/qt/3'
19 > #
20 >
21 > Note that profile.env is automatically updated by the data in env.d.
22 > Probably csh.env, too. See man env-update.
23 >
24 > Do you have the file /etc/env.d/50qtdir3 ?? Anything like it
25 > in /etc/env.d ?? If so, what's its name and what's its contents?
26 >
27 >> Once this environment variable has been set, to build execute:
28 >>
29 >> qmake Link-n-Log.pro
30 >> make
31 >
32 > Try this:
33 >
34 > # QTDIR=/usr/lib/qt3
35 > # echo $QTDIR
36 > /usr/lib/qt3
37 > # qmake Link-n-Log.pro
38 > ...messages
39 > # make
40 > ...messages
41 > #
42 >
43 > If that works out ok, then do this to make the QTDIR variable stick:
44 >
45 > # echo "QTDIR=/usr/lib/qt3" >> /etc/env.d/50qtdir3
46 >
47 thanks. did not work. i'm just gonna rebuild Qt and see if that helps.
48
49 ~P
50
51
52 --
53 http://patrickcampbell.us
54
55
56 --
57 gentoo-user@g.o mailing list