I tried a while back to build PySide against Maya and found it really difficult, then gave up. Fortunately they ship PySide now with Maya 2014. I'm not sure, but it seemed like the instructions on that blog may have missed some things in the command line for building shiboken? I tried a little bit of the process and failed during the Shiboken build process.
Although I had no problem building Qt: $ ./configure -opensource -silent -fast -arch x86_64 -debug-and-release -no-rpath -no-qt3support -sdk /Developer/SDKs/MacOSX10.6.sdk -nomake docs -no-libmng -no-accessibility -nomake examples -nomake demos -nomake translations -prefix /Users/justin/Downloads/Qt-4.7.1-Maya/qt-adsk-4.7.1/dist $ make -j9 $ make install I tried this with shiboken, to get it to configure without error $ cd _build $ cmake .. -DQT_QMAKE_EXECUTABLE=$QMAKE -DBUILD_TESTS=False -DPYTHON_EXECUTABLE=$PYTHON_EXEC -DPYTHON_INCLUDE_DIR=$PYTHON_INC -DPYTHON_LIBRARY=$PYTHON_LIB -DCMAKE_BUILD_TYPE=Release -DENABLE_ICECC=0 -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.6.sdk -DCMAKE_INSTALL_PREFIX=../_output -DLIB_INSTALL_DIR=../_output But it failed a whole bunch in the make. On Sat, Nov 23, 2013 at 8:39 AM, flavius <[email protected]> wrote: > Hello Everyone, > > I'm running up against an issue while trying to compile the Qt Libraries > and PySide for OSX. > > I using this post a guide ... > http://around-the-corner.typepad.com/adn/2012/10/building-qt-pyqt-pyside-for-maya-2013.html > > I downloaded the modified qt library from autodesk > (*http://www.autodesk.com/lgplsource > <http://www.autodesk.com/lgplsource>)*, and also managed to extract the > *MacOSX10.6.sdk* from Xcode 4.1 pkg > > > I ran configure using these options ... > > *./configure -prefix /Users/**myHomeDir**/qt-4.7.1 -arch x86_64 > -debug-and-release -no-rpath -silent -no-qt3support -sdk > /**PATH**/**TO**/**SDK**/MacOSX10.6.sdk/* > > > The problem I run into is when I run *make* I get this error: > > > > > > *compiling animation/qabstractanimation.cpperror: unable to read PCH file > .pch/debug-shared/QtCore_debug.gch: 'Is a directory'make[2]: *** > [.obj/debug-shared/qabstractanimation.o] Error 1make[1]: *** [debug-all] > Error 2make: *** [sub-corelib-make_default-ordered] Error 2* > > I also ran configure with the *-no-pch* option which did allow the qt > library to compile, however when I went to compile shiboken there were no > QtGui libraries in my qt-4.7.1 folder so shiboken wouldn't compile. > > > Anyone run into this before and have any ideas on how to remedy the > problem? > > > My configuration: > > System Version: OS X 10.8.5 (12F45) > Kernel Version: Darwin 12.5.0 > Boot Volume: Macintosh HD > Boot Mode: Normal > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/59d307a7-70c6-4f0e-be6e-b9c200e9c62d%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0pULA%3Dk6wJ-H%2B68TzQmt6B0ZE5UsPhXGw7bct_swJ-OA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
