Found it! Homebrew has a non-default QTDIR, and pyside-setup does not find that out from alone, although it could do that.
The quick work-around is export QTDIR=$HOMEBREW_PATH/Cellar/qt/4.8.5/ and then do your build. Actually this should not be necessary at all, because there is a variable QT_INSTALL_HEADERS with exactly that information. See the output of $ qmake -query pyside-setup just does not use this and takes some heuristics. I will build a small patch that fixes this. cheers - chris On 18.10.13 04:47, Christian Tismer wrote:
Hi friends, I tried to do a PySide build of the 1.2.1 version on OS X 10.8. Used homebrew to install Qt 4.8.5 and a fresh checkout of the pyside-setup repository. this always ends up with/Users/tismer/src/pyside-setup/sources/pyside/plugins/customwidget.h:27:10: fatal error: 'QtDesigner/QtDesigner' file not found #include <QtDesigner/QtDesigner> ^ 2 warnings and 1 error generated. make[2]: *** [plugins/CMakeFiles/uiplugin.dir/customwidgets.cpp.o] Error 1 make[1]: *** [plugins/CMakeFiles/uiplugin.dir/all] Error 2 make: *** [all] Error 2 error: Error compiling pysideThis is similar to trying a setup with pip. Any clues? Is that a problem with homebrew, maybe? thanks for any hint, I'm feeling dumb -- chris
-- Christian Tismer :^) <mailto:[email protected]> Software Consulting : Have a break! Take a ride on Python's Karl-Liebknecht-Str. 121 : *Starship* http://starship.python.net/ 14482 Potsdam : PGP key -> http://pgp.uni-mainz.de phone +49 173 24 18 776 fax +49 (30) 700143-0023 PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04 whom do you want to sponsor today? http://www.stackless.com/
_______________________________________________ PySide mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/pyside
