Help needed: any Apple users around ?

Michael Zanetti michael_zanetti at gmx.net
Wed Nov 11 19:30:15 GMT 2009


Hi Alexander,

I'm getting this on Mac OS X 10.5 having Qt-4.5.2 (and KDE 4.3.0) installed 
through MacPorts.

Sonic:build heike$ cmake ../
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at FindQt4.cmake:1695 (MESSAGE):
  Qt qmake not found!
Call Stack (most recent call first):
  CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!

Hope this helps... I haven't too much knowledge about how this works on MacOS.

Cheers,
Michael


On Tuesday 10 November 2009 22:18:00 Alexander Neundorf wrote:
> Hi,
> 
> I need the help from somebody who has an Apple running OSX.
> 
> In our FindQt4.cmake in kdelibs/cmake/modules/ there was code for special
> handling when Qt is installed as frameworks on OSX.
> This code was there since beginning of 2006, and I am quite sure it is not
> necessary anymore, so I removed it and committed the modified version to
> kdelibs trunk.
> 
> So, if you have an Apple machine running OSX and you have Qt installed as a
> framework, please try to build kdelibs fresh from an empty build dir and
>  let me know whether it could successfully find the Qt frameworks.
> 
> If this is too much work, there is a simpler way to check that.
> Just unpack the attached file and run cmake on it. At the end it should say
> which QtCore it found. On my Linux machine this looks like:
> 
> ~/src/tests/findqt4-test/b$ /opt/cmake-2.6.2-Linux-i386/bin/cmake ..
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> ...
> -- QT_QTCORE_LIBRARY is : "/opt/qt-4.5/qt/lib/libQtCore.so;-lpthread"
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/alex/src/tests/findqt4-test/b
> ~/src/tests/findqt4-test/b$ cd ..
> 
> 
> On your Mac with frameworks it should show that it found the framework.
> Please let me know whether it still works for you.
> 
> Thanks
> Alex
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20091111/fcea251f/attachment.sig>


More information about the kde-core-devel mailing list