20 дек. 2014 г. 19:59 пользователь "Christian Weisgerber" < [email protected]> написал: > > On 2014-12-19, Vadim Zhukov <[email protected]> wrote: > > > 2. Now that Qt5 is coming in, and given that some ports already (and > > many more will) support both Qt4 and Qt5, it may result in > > maintaince burden, to tweak each such port in the way: > > > > .if ${FLAVOR:Mqt5} > > ... > > .else > > ... > > .endif > > Why even do this?
At minimum, number of KDE land projects, such as Akonadi and Phonon, will have to have both versions. I hope to drop KDE4 around 5.9 time in favor of KF5+ Applications, but what to do before that? Same story would happen with QCA, for example. > > The only real change is that MODQT*_WANTLIB becomes a trick itself: > > you can set up both MODQT4_WANLTIB and MODQT5_WANTLIB in a port, > > BTW, there is no MODQT5_WANTLIB at the moment. Yes, but it's added in the original patch. > > An alternative approach could be switching all Qt4 users to Qt5, > > or, at least, making sure that Qt4 won't mix in otherwise Qt5-ready > > software. I plan to take a closer look to our Qt4 ports in January, if they ever could be ported to Qt5 as of now. Hope there would not be that much of dead ones... -- Vadim Zhukov
