On 28 July 2012 13:59, Nikos Chantziaras <rea...@gmail.com> wrote:
> On 28/07/12 08:22, Ben de Groot wrote:
>>
>> In preparation for that, we want to ask maintainers of all ebuilds in
>> the tree with dependencies on Qt4, to make sure that they have the
>> proper slot. Otherwise your package may pull in Qt5 while it may not
>> in fact support it.
>
>
> This can be trouble if the application actually works with Qt5.  It might
> depend on Qt4 but has no problems with Qt5 (contrary to Qt3 vs Qt4, Qt5 is
> mostly compatible with much of existing Qt4 code), needlessly pulling-in
> Qt4.  Many applications simply build and run as-is and no code changes are
> necessary.
>
> So what would be the methodology of making sure a package has the proper
> slot?

Obviously you would need to make sure that the package actually does
support Qt5. Then, as I see it, we could do either:

|| ( x11-libs/qt-gui:4 x11-libs/qt-gui:5 )

or:

qt4? ( x11-libs/qt-gui:4 )
qt5? ( x11-libs/qt-gui:5 )

Other thoughts?
-- 
Cheers,

Ben | yngwin
Gentoo developer
Gentoo Qt project lead, Gentoo Wiki admin

Reply via email to