changes how Qt4 is found in trunk/kdelibs/
Simon Hausmann
hausmann at kde.org
Fri Mar 31 07:44:31 CEST 2006
On Thursday 30 March 2006 22:07, Alexander Neundorf wrote:
> Hi,
>
> I committed a modified FindQt4.
> The following things changed:
> -qmake is prefered over qmake-qt4, it is still searched at first in the
> system path, so make ure your qt-copy qmake is the first qmake in the path
> -the libs, headers and other binaries are only searched in the directories
> reported by qmake
>
> -the name of moc and uic are determined by grepping the qmake spec files
> Does this work for all of you ? Especially mingw ? Let me know.
Unfortunately this part is going to break with Qt 4.2 where those variables
are not directly stored in qmake.conf anymore (as variables like these were
duplicated across all make specs and therefore were a pain to maintain). One
approach that should work with all Qt versions is to create a simple .pro
file, run qmake over it and grep for the moc/uic paths in the resulting
Makefile.
Simon
More information about the Kde-buildsystem
mailing list