How to find qmake to find QT4

Michael Biebl mbiebl at gmail.com
Wed Mar 22 18:25:10 CET 2006


On 3/22/06, Thiago Macieira <thiago at kde.org> wrote:
> William A. Hoffman wrote:
> >The current FindQT4.cmake in kde looks for qmake-qt4, then qmake.
> >Is qmake-qt4 standard? When I build and install qt-copy, I only
> >get a qmake, however there is a qmake-qt4 on the machine that gets
> >found, and is the wrong version of qt4. So, what is qmake-qt4?
>
> I've never seen that and Trolltech does not create such a thing.
>
> The only thing we create is "qmake".

This is Debian specific. qmake from Qt3 is installed to
/usr/bin/qmake-qt3 and qmake from Qt4 to /usr/bin/qmake-qt4. The
Debian alternatives mechanism then lets you choose which version is
the default and symlinks qmake to the preferred version.


More information about the Kde-buildsystem mailing list