libqtlua-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libqtlua-list] compiling on mac os x doesn't work


From: Konstantin Tokarev
Subject: Re: [Libqtlua-list] compiling on mac os x doesn't work
Date: Wed, 17 Aug 2011 11:38:55 +0400


17.08.2011, 04:15, "Alexandre Becoulet" <address@hidden>:
> On 08/15/2011 04:15 PM, ben mailist wrote:
>
> Hi,
>
>>  My specs:
>>  mac os x 10.6.8
>>
>>  $ qmake -v
>>  QMake version 2.01a
>>  Using Qt version 4.7.3 in /homes/ben/local/qt/qt-4.7.3/lib
>
> QMake version is not relevant, what about CMake version?
>
>>  Gnu problem: There is no 'configure' script.
>
> configure scripts are only present in the release tarballs; the
> subversion repository doesn't contain generated files. Autotools
> approach may not work on osx. CMake does.
>
>>  Cmake problem:
>>  CMake Error at CMakeLists.txt:102 (QT4_WRAP_CPP):
>>     Unknown CMake command "QT4_WRAP_CPP".
>
> It looks like cmake is not able to find qmake/Qt. Try setting the QTDIR
> variable.

AFAIK, FindQt4 disregards QTDIR.
Try to change your $PATH variable to have right qmake first in path, e.g.

export PATH=/homes/ben/local/qt/qt-4.7.3/bin:$PATH

Than type "which qmake"  - it should show path to right qmake executable


-- 
Regards,
Konstantin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]