CMake cannot find Qt4
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 this? The versions of the ports are: $ port installed cmake qt4-mac The following ports are currently installed: cmake @3.3.2_1 (active) qt4-mac @4.8.7_2 (active) Best wishes. Davide ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Experiences with El Capitan
I guess I am not upgrading to El Capitain just yet then. Thanks for sharing your experiences! — > On Nov 5, 2015, at 12:39 PM, Arno Hautalawrote: > > On Thu, Nov 5, 2015 at 3:00 PM, Dave Horsfall wrote: >> Why did >> it not merely retrieve pre-built binaries, as usual? > > Apple hasn't yet provisioned the build environment required for El > Capitan binaries. There's a ticket somewhere tracking this issue, but > I haven't seen any progress on it. > > -- > arno s hautala/-| a...@alum.wpi.edu > > pgp b2c9d448 > ___ > macports-users mailing list > macports-users@lists.macosforge.org > https://lists.macosforge.org/mailman/listinfo/macports-users ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: CMake cannot find Qt4
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 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 this? > > The versions of the ports are: > $ port installed cmake qt4-mac > The following ports are currently installed: > cmake @3.3.2_1 (active) > qt4-mac @4.8.7_2 (active) ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Experiences with El Capitan
On Nov 5, 2015, at 3:35 PM, Rainer Müllerwrote: > This is mainly due to the absence of an actual admin at Mac OS Forge, > our hosting provider at Apple. Do we know if there's a position posted? It would be great if someone from the Macports community held that position. -- Daniel J. Luke ++ | * dl...@geeklair.net * | | *-- http://www.geeklair.net -* | ++ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | ++ ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: CMake cannot find Qt4
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.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: CMake cannot find Qt4
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 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 ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users