Re: CMake cannot find Qt4

2015-11-07 Thread Davide Liessi
2015-11-06 19:24 GMT+01:00 Davide Liessi : > 2015-11-06 16:15 GMT+01:00 Davide Liessi : >> 2015-11-06 16:06 GMT+01:00 Michael Dickens : >>> Set the environment variable: >>> {{{ >>> QMAKE=/opt/local/libexec/qt4/bin/qmake >>> }}} >>> before running cmake. >> >> I tried and I'm still getting the same

Re: CMake cannot find Qt4

2015-11-06 Thread Davide Liessi
2015-11-06 16:15 GMT+01:00 Davide Liessi : > 2015-11-06 16:06 GMT+01:00 Michael Dickens : >> 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

Re: CMake cannot find Qt4

2015-11-06 Thread Davide Liessi
2015-11-06 16:06 GMT+01:00 Michael Dickens : > Set the environment variable: > {{{ > QMAKE=/opt/local/libexec/qt4/bin/qmake > }}} > before running cmake. I tried and I'm still getting the same error. ___ macports-users mailing list macports-users@lists.m

Re: CMake cannot find Qt4

2015-11-06 Thread Michael Dickens
Set the environment variable: {{{ QMAKE=/opt/local/libexec/qt4/bin/qmake }}} before running cmake. If you're inside a Portfile, then just do: {{{ PortGroup qt4 1.0 }}} somewhere before the cmake command. - MLD On Fri, Nov 6, 2015, at 09:26 AM, Davide Liessi wrote: > I'm trying to build a project

CMake cannot find Qt4

2015-11-06 Thread Davide Liessi
Hi all. I'm trying to build a project that requires Qt4 and uses CMake. When I run cmake I get the following error: CMake Error at /opt/local/share/cmake-3.3/Modules/FindQt4.cmake:1324 (message): Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x Any hint on how to solve th