cmake: make Qt4 qmake available via PATH

Michael Olbrich michael-olbrich at web.de
Wed Mar 22 19:07:55 CET 2006


On Wed, Mar 22, 2006 at 06:22:38PM +0100, Alexander Neundorf wrote:
> On Wednesday 22 March 2006 14:53, Thiago Macieira wrote:
> > Michael Olbrich wrote:
> > >Hmm, that will give me:
> > >QT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
> > >QT_BINARY_DIR=/usr/bin
> > >QT_UIC_EXECUTABLE=/usr/bin/uic
> > >which is the qt3 uic.
> > >Can we check for uic-qt4 like qmake-qt4?
> 
> What's the name of the Qt4 uic3 on your system ?
> ui3-qt4 ? Are there more binary which have special names on your system ?

uic-qt3 == uic from qt3
uic-qt4 == uic from qt4
uic3    == uic3 from qt4
uic     == link uic-qt3 or uic-qt4

> > It should be found using pkg-config or qmake (whichever we prefer):
> >
> > $ ls `qmake -query QT_INSTALL_BINS`/uic
> > /home/tjmaciei/troll/qt-4.1-build/bin/uic*
> >
> > $ ls `pkg-config --variable prefix QtCore`/bin/uic
> > /home/tjmaciei/troll/qt-4.1-build/bin/uic*

That is not necessarily the same uic qmake would use. Is that
intentional?

michael



More information about the Kde-buildsystem mailing list