[PySide] 1.2.1 build failure OS X

Christian Tismer tismer at stackless.com
Fri Oct 18 08:11:22 CEST 2013


Howdy,

Here is a small patch that removes the need to set QTDIR
when using homebrew.

https://github.com/ctismer/pyside-setup/commit/6f49a93f59b930be858cd1cc9174de74f38ff393

cheers -- chris

On 18.10.13 07:31, Christian Tismer wrote:
> 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 pyside
>> This 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:tismer at stackless.com>
> 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
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside


-- 
Christian Tismer             :^)   <mailto:tismer at stackless.com>
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/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20131018/a661d168/attachment.html>


More information about the PySide mailing list