Gentoo Archives: gentoo-dev

From: Ben de Groot <yngwin@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Cc: Nikos Chantziaras <realnc@×××××.com>
Subject: Re: [gentoo-dev] Re: Should there be a preference with qt4 and qt5 USE flags?
Date: Mon, 09 Mar 2015 07:44:14
Message-Id: CAB9SyzST5DOdtdiQ27RDjoQfkUkCk8q3ODVxNXwdnkmxVeuZSA@mail.gmail.com
In Reply to: Re: [gentoo-dev] Re: Should there be a preference with qt4 and qt5 USE flags? by Johannes Huber
1 On 9 March 2015 at 04:17, Johannes Huber <johu@g.o> wrote:
2 > Am Sonntag, 8. März 2015, 21:50:02 schrieb Nikos Chantziaras:
3 >> On 08/03/15 21:35, Alexandre Rostovtsev wrote:
4 >> > On Sun, 2015-03-08 at 21:31 +0200, Nikos Chantziaras wrote:
5 >> >> Some ebuilds in portage for Qt-based software support both Qt4 as well
6 >> >> as Qt5. Some have "+qt4 qt5" in IUSE, others have "qt4 qt5".
7 >> >>
8 >> >> Is there a guideline for this somewhere? If a package needs Qt and thus
9 >> >>
10 >> >> lists:
11 >> >> REQUIRED_USE="^^ ( qt4 qt5 )"
12 >> >>
13 >> >> but otherwise doesn't prefer one version over the other and both are
14 >> >> equally well supported, should qt4 still be enabled by default?
15 >
16 > As long qt5 is testing only qt4 makes sense.
17
18 This. For now, we need to prefer qt4, if there is a choice between qt4
19 and qt5. (Unless upstream has already abandoned the qt4 option, which
20 makes it less of a choice, I guess.) But please set useflags for both
21 options, so the choice is clear to the user.
22
23 As soon as qt5 goes stable, I think we should switch to qt5 as default
24 where possible.
25
26 And especially when we have an at-least-one-of or an either-or
27 required-use, we need to have one of the options set as default.
28 --
29 Cheers,
30
31 Ben | yngwin
32 Gentoo developer

Replies