Gentoo Archives: gentoo-dev

From: Ben de Groot <yngwin@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] Supporting both Qt4 and Qt5 builds
Date: Tue, 12 Aug 2014 05:29:03
Message-Id: CAB9SyzRLjr75f368r2YuvgQhifAaA0Wc0vraxGCG9d+udWWBgA@mail.gmail.com
In Reply to: [gentoo-dev] Supporting both Qt4 and Qt5 builds by Georg Rudoy <0xd34df00d@gmail.com>
1 On 10 August 2014 18:51, Georg Rudoy <0xd34df00d@×××××.com> wrote:
2 > Hi,
3 >
4 > I'm thinking of converting a few ebuilds (x11-libs/qwt,
5 > dev-libs/kqoauth, net-libs/qxmpp among them) to support building with
6 > both Qt4 and Qt5.
7 >
8 > Should this better be done by adding the corresponding useflags (qt4
9 > and qt5 respectively) or by slotting?
10 >
11 > What's your opinion on this?
12 >
13
14 The Qt team has always recommended the useflag method for packages
15 that support more than one major version of Qt. This is also what we
16 implement ourselves. So for consistency's sake, please stick with the
17 useflags.
18
19 --
20 Cheers,
21
22 Ben | yngwin
23 Gentoo developer