CMake cannot find Qt4

Davide Liessi davide.liessi at gmail.com
Fri Nov 6 10:24:38 PST 2015


2015-11-06 16:15 GMT+01:00 Davide Liessi <davide.liessi at gmail.com>:
> 2015-11-06 16:06 GMT+01:00 Michael Dickens <michaelld at macports.org>:
>> Set the environment variable:
>> {{{
>> QMAKE=/opt/local/libexec/qt4/bin/qmake
>> }}}
>> before running cmake.
>
> I tried and I'm still getting the same error.

Setting QT_QMAKE_EXECUTABLE instead of QMAKE solved my problem.
Thanks for the hints.

(The projects builds without errors, it doesn't run though, but that's
another problem and is probably not related to MacPorts.)

Best wishes.
Davide


More information about the macports-users mailing list