[PySide] Failing build on OS X

Erik Johansson erik.johansson at fido.se
Mon May 20 18:32:10 CEST 2013


Hi again

>From what env variables does it find the include directories? I tried
explicitly setting QT_INCLUDE_DIR to the one i wan't to use which is
/Users/erik/qt-4.7.1/include/Users/erik/qt-4.7.1/lib/
QtCore.framework/QtCore.framework/Headers/qglobal.h but it still picked up
the others as well.

I am trying to follow
http://around-the-corner.typepad.com/adn/2012/10/building-qt-pyqt-pyside-for-maya-2013-part-2.htmlfor
compiling PySide to use in Maya and I think the variable they set as
*-DALTERNATE_QT_INCLUDE_DIR=$QTDIR/include could be for resolving this
problem but that variable don't seem to be picked up in the cmake configure.
*
*
*
Cheers,
Erik


On Mon, May 20, 2013 at 6:06 PM, John Ehresman <jpe at wingware.com> wrote:

> On 5/20/13 11:53 AM, Erik Johansson wrote:
> > Hi John
> >
> > Put it on a github gist. pastebin couldnt handle it.
> >
> > https://gist.github.com/anonymous/5613138
>
> The message that indicates that Orientation isn't found is about halfway
> through and is:
>
>         enum 'Qt::Orientation' is specified in typesystem, but not declared
>
> I think I see references to three different directories that contain the
> QtCore headers:
>
> /Users/erik/pyside-qt4.8+1.1.2/PySide/QtCore.framework/Headers/qglobal.h
>
> /Users/erik/qt-4.7.1/include/Users/erik/qt-4.7.1/lib/QtCore.framework/QtCore.framework/Headers/qglobal.h
> /usr/include/QtCore.framework/Headers/qglobal.h
>
> This points to something being wrong here and I think that removing /
> hiding two of the versions might fix the problem -- or at least simplify
> it.
>
> Cheers,
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20130520/be89fc3f/attachment.html>


More information about the PySide mailing list