On Wed, Feb 27, 2013 at 10:37 PM, Yichao Yu <[email protected]> wrote: > On Wed, Feb 27, 2013 at 10:19 PM, Yichao Yu <[email protected]> wrote: >> On Wed, Feb 27, 2013 at 6:14 PM, Andrea Scarpino <[email protected]> >> wrote: >>> On Wednesday 27 February 2013 16:21:24 you wrote: >>>> When you install both qt5-base and qt4, qmake will refers to the 5.x >>>> version. To 'force' Qt 4.x, you can use the qmake4 symlink. There's also >>>> moc-qt4, uic- qt4 and rcc-qt4. We provide these symlinks as they are used >>>> by cmake and by the configure scripts to locate qt4. >> >> This should probably be done for all package that links to qt >> including those that are not directly depending on qt. > > After testing the current kde PKGBUILD's (by felixonmars), it is clear > that any package that links to qt need to change their PKGBUILD if the > situation is not changing. Especially ALL kde packages (well probably > not including wallpapers etc....) > >> >>> >>> Please maintainers fix your PKGBUILDs so they build on systems with both qt4 >>> and qt5-base installed; when your PKGBUILD needs qt4 and: >>> * use qmake, you can replace it with qmake4 >>> * use cmake, you can add -DQT_QMAKE_EXECUTABLE=qmake4 to the cmake options
And good luck for all developers using Qt, don't forgot to run cmake with this flag after the upgrade. >>> >>> Cheers >>> >>> -- >>> Andrea >>> Arch Linux Developer
