[PySide] Failing build on OS X

Erik Johansson erik.johansson at fido.se
Mon May 20 12:03:34 CEST 2013


This is my out from cmake

$CMAKE -DQT_QMAKE_EXECUTABLE=$QMAKE -DBUILD_TESTS=False
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
-DShiboken_DIR=$SHIBOKEN_DIR
-DCMAKE_INSTALL_PREFIX=/Users/erik/pyside-qt4.8+1.1.2/_output
-DALTERNATE_QT_INCLUDE_DIR=$QTDIR/include ..
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is Clang 4.2.0
-- 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
-- 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
-- Using default python: -python2.6
-- libshiboken built for Release
-- 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 Qt4: /Users/erik/qt-4.7.1/bin/qmake (found suitable version
"4.7.1", required is "4.5.0")
-- Detected OS: mac
-- !!! The generated bindings will be installed on
/Users/erik/pyside-qt4.8+1.1.2/_output/lib/python2.6/site-packages, is it
right!?
-- PySide will be generated using the protected hack!
-- Checking for QAbstractPageSetupDialog in QtGui -- found
-- Checking for QAbstractPrintDialog in QtGui -- found
-- Checking for QGtkStyle in QtGui -- not found
-- Checking for QPageSetupDialog in QtGui -- found
-- Checking for QPrintDialog in QtGui -- found
-- Checking for QPrintEngine in QtGui -- found
-- Checking for QPrintPreviewDialog in QtGui -- found
-- Checking for QPrintPreviewWidget in QtGui -- found
-- Checking for QPrinter in QtGui -- found
-- Checking for QPrinterInfo in QtGui -- found
-- Checking for QSessionManager in QtGui -- found
-- Checking for QSizeGrip in QtGui -- found
-- Checking for QSystemTrayIcon in QtGui -- found
-- Checking for QMacStyle in QtGui -- found
-- Checking for QSslCertificate in QtNetwork -- found
-- Checking for QSslCipher in QtNetwork -- found
-- Checking for QSslConfiguration in QtNetwork -- found
-- Checking for QSslError in QtNetwork -- found
-- Checking for QSslKey in QtNetwork -- found
-- Checking for QSslSocket in QtNetwork -- found
-- Checking for VideoCaptureDevice in phonon -- not found
-- QT_SRC_DIR variable not set or graphviz not found, apidoc generation
targets disabled.
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    ALTERNATE_QT_INCLUDE_DIR


-- Build files have been written to: /Users/erik/pyside-qt4.8+1.1.2/_build

I literally have no idea where to go from here


On Sun, May 19, 2013 at 7:27 PM, Erik Johansson <erik.johansson at fido.se>wrote:

> Could it be that Qt.Orientation for some reason was not built when I built
> Qt? Going to do a new PySide build from scratch tomorrow and see if
> configure outputs something strange but i don't recall any warnings.
>
> //Erik
>
>
> On Fri, May 17, 2013 at 5:44 PM, John Ehresman <jpe at wingware.com> wrote:
>
>> On 5/17/13 5:26 AM, Erik Johansson wrote:
>> > I am trying to build PySide on OS X against Qt 4.7.1 and getting these
>> > compilation errors:
>>
>> Hi,
>>
>> To take the first error:
>>
>> >
>> /Users/erik/pyside/_build/PySide/QtCore/PySide/QtCore/qabstractitemmodel_wrapper.cpp:499:81:
>> > error: use of undeclared identifier 'SBK_QT_ORIENTATION_IDX'
>>
>> In my build, SBK_QT_ORIENTATION_IDX is defined in pyside_qtcore_python.h
>> in the same directory and the converter is set up in qt_wrapper.cpp
>>
>> The next thing to look at here is why support for Qt.Orientation isn't
>> generated.
>>
>> Cheers,
>>
>> John
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20130520/bce61953/attachment.html>


More information about the PySide mailing list