[Python-modules-team] Bug#631832: Compile PySide 1.0.4 against Qt 4.5.3 and Python 2.6

Carlo Giesa carlo_g at nwavedigital.com
Mon Jul 25 06:57:47 UTC 2011


On 2011-07-23 11:23, Didier Raboud wrote:
> tags 631832 +moreinfo
> thanks
>
> Hi Carlo, and thanks for your bugreport,
>
> Le lundi, 27 juin 2011 17.18:26, Carlo Giesa a écrit :
>    
>> To compile successfully against Qt 4.5.3 and Python 2.6 following code
>> snippets must be modified:
>>
>>
>> * File: PySide/QtGui/typesystem_gui_common.xml
>>     There are two switch cases that handle QColor::Hsl. Both must be put
>>     inside a Qt version check condition. It is already done in 1.0.4 for the
>>     first block but not for the second 40 lines below.
>> * File: PySide/QtGui/CMakeLists.txt
>>     Comment out the line with "qpixmapcache_key_wrapper" (this was added in
>>     Qt 4.6 I guess).
>> * File PySide/QtCore/CMakeLists.txt
>>     Comment out the line with "/glue/qeasingcurve_glue.cpp" (line number 3)
>>      
> Thanks for those pieces of advice, but what is this bug about ?
>
> I mean: PySide 1.0.4 has been successfully compiled in Debian unstable, and is
> being actively backported to Ubuntu's Natty, Maverick and Lucid (see the
> PySide official PPA). It doesn't migrate to Debian testing because too many
> build-time tests fail on some architectures.
>
> Is this a backports request ? The current backporting rules don't allow
> package versions from unstable, so unless someone (upstream, me, you ?) fixes
> the build-time tests on all Debian architectures, such a backport will not
> happen.
>
> So I am hereby tagging this bug as "moreinfo" as I would like to have a better
> understanding of the reasons behind this bug.
>
> Cheers,
>
>    
Hi Didier,

I guess, I mixed up a couple of things when creating the bug report for 
this issue. Because it is no issue linked to Debian, but only to the 
compilation of PySide in general against older versions of Qt.

We use PySide inside a 3D application called Maya which uses in its 
version 2011 Qt 4.5.3. We tried to compile PySide under Windows 64bit 
against it (and Python 2.6) and encountered a couple of problems that we 
resolved like I mention above. If I understood well, the PySide team 
won't support the compilation against older versions of Qt, but will try 
to add exceptions that are reported by users, to make PySide compile 
without issues. Hugo Parente Lima suggested to create a bug report for this.

This bug should be reported in the PySide buglist instead.

Sorry for this misunderstanding.

Greets,
Carlo






More information about the Python-modules-team mailing list