> On March 11, 2013, 6:19 a.m., Andrea Scarpino wrote: > > "I was quite clear: "qmake" must point by default to Qt 4 if Qt 4 present." > > While qtchooser sounds like a great solution to handle this, it only adds > > more confusion from a packager view: we cannot have N differents > > configurations for qt when the users install our packages: qmake points to > > qt5, no matter which configuration the user did setup for qtchooser. > > Also, every binary points to the latest version in Arch (e.g. python points > > to python3 not python2) > > > > However all this discussion isn't related to Arch itself: I think that > > binaries with specific version takes precedence, don't they? > > Stephen Kelly wrote: > No, you also need to account for self-built Qt, which will also result in > a binary called 'qmake'. > > http://thread.gmane.org/gmane.comp.kde.devel.general/65619/focus=65623 > > Andrea Scarpino wrote: > I don't want to remove the 'qmake' word from the FindQt4.cmake file, but > ATM that file looks for: > qmake qmake4 qmake-qt4 (and so on) in this order. > Why not using this one instead? qmake4 qmake-qt4 qmake... > > Stephen Kelly wrote: > Did you follow the link I sent to the thread on the cmake list?
No, I missed the reply in the second link in the thread you linked. Ok, I see your point now. I'll think about it. - Andrea ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/109404/#review28931 ----------------------------------------------------------- On March 11, 2013, 3:29 a.m., Aleix Pol Gonzalez wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/109404/ > ----------------------------------------------------------- > > (Updated March 11, 2013, 3:29 a.m.) > > > Review request for Build System, kdelibs, David Faure, Alexander Neundorf, > and Andrea Scarpino. > > > Description > ------- > > Recently ArchLinux decided to ship Qt5 and they did so by making qmake point > to qmake-qt5 and adding qmake-qt4. > > With this patch, we look first for the executables that specify the version > number and then the more generic ones. > > > Diffs > ----- > > cmake/modules/FindQt4.cmake 6db944f > > Diff: http://git.reviewboard.kde.org/r/109404/diff/ > > > Testing > ------- > > cmake_minimum_required(VERSION 2.8) > > find_package(KDE4) > > ----- > > Configuring such a project returns the correct versions. > > > Thanks, > > Aleix Pol Gonzalez > >
_______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem