Dear All,
I am trying to build pyside-qt4.6+0.3.0 on OS X 10.6 against the Qt 4.6.2 SDK.
I have the following problem. The Qt SDK is 32-bit only, but cmake uses default
compiler flags and tries to build 64-bit.
I can build apiextractor-0.4.0, generatorrunner-0.4.0 and shiboken-0.2.0 by
adding the following lines to CMakeLists.txt
set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} "-arch i386")
set(CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} "-arch i386")
set(CMAKE_MODULE_LINKER_FLAGS ${CMAKE_MODULE_LINKER_FLAGS} "-arch i386")
add_definitions(-arch i386)
However, this seems not to be enough for pyside, I get the following output
from cmake:
brennan:pyside-qt4.6+0.3.0 stuart$ cmake .
-- 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
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - 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
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - 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
-- Found PythonLibs: -framework Python
-- Found PythonInterp:
/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
-- 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 - not found.
-- Found Qt-Version 4.6.2 (using /usr/bin/qmake)
CMake Error at PySide/QtGui/CMakeLists.txt:48 (message):
OS not supported
-- Configuring incomplete, errors occurred!
Is what I am trying to do reasonable or not?
Best Wishes,
Stuart McNicholas
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside