From kde-core-devel Wed Nov 11 19:30:15 2009 From: Michael Zanetti Date: Wed, 11 Nov 2009 19:30:15 +0000 To: kde-core-devel Subject: Re: Help needed: any Apple users around ? Message-Id: <200911112030.18421.michael_zanetti () gmx ! net> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=125796799502487 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart4435172.FSOusi07sW" --nextPart4435172.FSOusi07sW Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Hi Alexander, I'm getting this on Mac OS X 10.5 having Qt-4.5.2 (and KDE 4.3.0) installed= =20 through MacPorts. Sonic:build heike$ cmake ../ =2D- The C compiler identification is GNU =2D- The CXX compiler identification is GNU =2D- Check for working C compiler: /usr/bin/gcc =2D- Check for working C compiler: /usr/bin/gcc -- works =2D- Detecting C compiler ABI info =2D- Detecting C compiler ABI info - done =2D- Check for working CXX compiler: /usr/bin/c++ =2D- Check for working CXX compiler: /usr/bin/c++ -- works =2D- Detecting CXX compiler ABI info =2D- 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) =2D- Configuring incomplete, errors occurred! Hope this helps... I haven't too much knowledge about how this works on Mac= OS. Cheers, Michael On Tuesday 10 November 2009 22:18:00 Alexander Neundorf wrote: > Hi, >=20 > I need the help from somebody who has an Apple running OSX. >=20 > 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. >=20 > 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. >=20 > 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 s= ay > which QtCore it found. On my Linux machine this looks like: >=20 > ~/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 .. >=20 >=20 > On your Mac with frameworks it should show that it found the framework. > Please let me know whether it still works for you. >=20 > Thanks > Alex >=20 --nextPart4435172.FSOusi07sW Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkr7EMcACgkQXJwWsxE5x7jNPACeLmPMhMPDe16+o7BbCVd5jhYf LZAAn3BTQV6PnC1+Ad1nMMRBAdVI1F6T =EAOo -----END PGP SIGNATURE----- --nextPart4435172.FSOusi07sW--