Help needed: any Apple users around ?

Pau Garcia i Quiles pgquiles at elpauer.org
Wed Nov 11 20:59:39 CET 2009


2009/11/10 Alexander Neundorf <neundorf at kde.org>:
> 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.

I'm attaching the output of CMake 2.6.4 + Qt 4.6 beta 1 on Mac OS X
10.6.2, and the output of CMake 2.8.0rc6 + Qt 4.6 beta 1 on Mac OS X
10.6.2. Qt4 was installed using the installer provided by Trolltech.

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
-------------- next part --------------
-- 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
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt-Version 4.6.0 (using /usr/bin/qmake)
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- QT_QTCORE_LIBRARY is : "/Library/Frameworks/QtCore.framework;-lpthread"
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/pgquiles/Downloads/testqt4/findqt4-test/build
-------------- next part --------------
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- 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
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- 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
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt-Version 4.6.0 (using /usr/bin/qmake)
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- QT_QTCORE_LIBRARY is : "/Library/Frameworks/QtCore.framework;-lpthread"
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/pgquiles/Downloads/testqt4/findqt4-test/build2


More information about the Kde-buildsystem mailing list