Gentoo Archives: gentoo-dev

From: Mikael Hallendal <micke@×××××××××××.se>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] Final qt/QTDIR scheme
Date: Mon, 08 Oct 2001 21:21:09
Message-Id: 1002597595.3475.16.camel@zoidberg
In Reply to: [gentoo-dev] Final qt/QTDIR scheme by Dan Armak
1 tis 2001-10-09 klockan 02.34 skrev Dan Armak:
2 > Hi all,
3
4 Hi!
5
6 > The current and (I very much hope) final scheme is this:
7 > qtX installs in /usr/lib/${P}. This is qt-x11-${PV} normally. However there
8 > are also qt-x11-free and qt-embedded libraries which we may have in the
9 > future, so we don't use /usr/lib/qt-${PV} anymore. A symlink is created in
10 > /usr/lib/qt-x11-$MAJOR_VERSION. That is, for now, 2 or 3.
11
12 A few questions:
13
14 1) What are the difference between qt-x11 and qt-x11-free.
15
16 2) Why is it called qt-x11 and not just 'qt'?
17 I guess this is because you can build qt-embedded (Is that for
18 framebuffer)? or perhaps there even is a qt-fb for that. Anyway, my
19 point is, why not calling "regular" (x11) qt just plain and simple
20 'qt' and use an extra ending for the others?
21
22 > 99% of qt apps are also KDE apps and as such use eclasses. A configure script
23 > should automatically use the qt in QTDIR, which is by default the latest qt.
24 > Therefore, once kde3 is out, I will make (tiny) qt{2,3}.eclass files that
25 > will say QTDIR=/usr/lib/qt-x11-$MAJOR_VERSION. kde.eclass itself will have
26 > QTDIR set to the latest version available.
27
28 > - An app being compiled outside ebuilds, non-kde qt apps, and everything else
29 > that doesn't use eclasses will have to trust that QTDIR is properly set, or
30 > to set it manually to /usr/lib/qt-x11-$MAJOR_VERSION (no biggie).
31
32 When/if EClasses gets accepted they won't be restricted to KDE-use
33 (right?) and should probably be used for all qt-apps (and probably
34 others), meaning that if it's an qt2 app it inherits qt2.eclass and if
35 it's an qt3 app it inherits qt3.eclass.
36
37 Regards,
38 Mikael Hallendal
39
40 > Well, that's it. I'm writing this late at night, so I've probably said
41 > something stupid. Comments welcome!
42
43 Written even later :)
44
45 --
46 Mikael Hallendal micke@×××××××××××.se
47 CodeFactory AB http://www.codefactory.se/
48 Office: +46 (0)8 587 583 05 Cell: +46 (0)709 718 918

Replies

Subject Author
Re: [gentoo-dev] Final qt/QTDIR scheme Dan Armak <danarmak@g.o>