On Fri, Jul 27, 2012 at 11:56 PM, Nikos Chantziaras <rea...@gmail.com> wrote:
> On 28/07/12 09:46, Davide Pesavento wrote:
>>
>> On Fri, Jul 27, 2012 at 11:27 PM, Ben de Groot <yng...@gentoo.org> wrote:
>>>
>>> On 28 July 2012 13:59, Nikos Chantziaras <rea...@gmail.com> wrote:
>>>>
>>>>  [...]
>>>>
>>>> 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 )
>>>
>>
>> This is wrong because qt4 and qt5 are not binary compatible.
>>
>>> or:
>>>
>>> qt4? ( x11-libs/qt-gui:4 )
>>> qt5? ( x11-libs/qt-gui:5 )
>>>
>>
>> This is the only alternative AFAICS.
>
>
> In that case, if Qt5 is installed, the application might depend on Qt4, but
> when building it, might link against Qt5.
>
>

No, that would be a bug in the ebuild or somewhere else.

BTW, I'm planning to write a qt5-utils.eclass, which will provide an
eqmake5 function similar to eqmake4 in qt4-r2.eclass.

Cheers,
Pesa

Reply via email to