cmake: make Qt4 qmake available via PATH

Alexander Neundorf neundorf at kde.org
Wed Mar 22 18:22:38 CET 2006


On Wednesday 22 March 2006 14:53, Thiago Macieira wrote:
> Michael Olbrich wrote:
> >On Tue, Mar 21, 2006 at 11:19:57PM +0100, Alexander Neundorf wrote:
> >> Hi,
> >>
> >> after the discussions today on the KDE and the cmake mailing lists, it
> >> seems that Qt4 obsoletes the use of QTDIR and instead requires that
> >> qmake is available via PATH.
> >>
> >> So I changed the detection of Qt4 accordingly in FindQt4.cmake.
> >
> >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 ?


> 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*

Is it somewhere documented what can be queried ?
I didn't find it yet.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list