<div dir="ltr">Hi Amos,<br><div><div class="gmail_extra"><br></div>thanks for reporting this. We (setup.py authors) know about missing documentation in setup.py (and PyPI) about building on OSX. We will try to update the documentation and add the missing parts before next release.<br>
<br></div><div>Thanks<br></div><div>Roman<br></div><div><br><div class="gmail_extra"><br><div class="gmail_quote">2013/9/12 Amos Anderson <span dir="ltr"><<a href="mailto:amos.anderson@protabit.com" target="_blank">amos.anderson@protabit.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello PySide list --<br>
<br>
I started this email to ask for help fixing a bug, but after pawing through the setup.py script, I found the fix myself... So this email is to request that this be documented somewhere like on the PyPi page! I was using a command like this to build pyside:<br>

<br>
python setup.py build --cmake /Users/amosa/triad/tools/cmake/bin/cmake --qmake /Users/amosa/triad/tools/qt/Qt/bin/qmake<br>
<br>
but I was getting this error with all the things I tried (different OSX machines, different cmake versions, different pythons, etc):<br>
<br>
<br>
/bin/sh: line 1: 13240 Segmentation fault: 11  /Users/amos/triad/tools/pyside/PySide-1.2.1/pyside_install/py2.7-qt4.8.4-64bit-release/bin/shiboken --generator-set=shiboken --enable-parent-ctor-heuristic --enable-pyside-extensions --enable-return-value-heuristic --use-isnull-as-nb_nonzero /Users/amos/triad/tools/pyside/PySide-1.2.1/pyside_build/py2.7-qt4.8.4-64bit-release/pyside/PySide/pyside_global.h --include-paths=/Users/amos/triad/tools/pyside/PySide-1.2.1/sources/pyside/PySide:/Library/Frameworks --typesystem-paths=/Users/amos/triad/tools/pyside/PySide-1.2.1/sources/pyside/PySide:/Users/amos/triad/tools/pyside/PySide-1.2.1/sources/pyside/PySide/QtCore --output-directory=/Users/amos/triad/tools/pyside/PySide-1.2.1/pyside_build/py2.7-qt4.8.4-64bit-release/pyside/PySide/QtCore --license-file=/Users/amos/triad/tools/pyside/PySide-1.2.1/sources/pyside/PySide/QtCore/../licensecomment.txt /Users/amos/triad/tools/pyside/PySide-1.2.1/pyside_build/py2.7-qt4.8.4-64bit-release/pyside<br>

 /PySide/QtCore/typesystem_core.xml --api-version=4.8 --drop-type-entries=""<br>
make[2]: *** [PySide/QtCore/PySide/QtCore/qabstracteventdispatcher_wrapper.cpp] Error 139<br>
make[1]: *** [PySide/QtCore/CMakeFiles/QtCore.dir/all] Error 2<br>
make: *** [all] Error 2<br>
error: Error compiling pyside<br>
<br>
<br>
<br>
The problem was that I needed to set the environment variable QTDIR... It's unintuitive to me to tell people that they should specify the path to qmake when using the PyPi install, but then say nothing about QTDIR! Well, perhaps at least this email will show up when people google the error message.<br>

<br>
Thanks!<br>
Amos.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
PySide mailing list<br>
<a href="mailto:PySide@qt-project.org">PySide@qt-project.org</a><br>
<a href="http://lists.qt-project.org/mailman/listinfo/pyside" target="_blank">http://lists.qt-project.org/mailman/listinfo/pyside</a><br>
</blockquote></div><br></div></div></div>