[PyKDE] PyQt-3.16, qscintilla-1.65-1.6 and sip-4.4.5 on 32 bit and 64 bit Windows with MSVS2005

Phil Thompson phil at riverbankcomputing.co.uk
Wed Jul 19 23:37:13 BST 2006


On Wednesday 19 July 2006 10:16 pm, Gerard Vermeulen wrote:
> Hi,
>
> I am assembling a fairly large Python system on several platforms. Windows
> 32 bit and 64 bit using MSVS2005 are part of those.  A pecularity of Win64
> is that the size of a long is 4 bytes instead of 8 bytes as on Linux 64
> bit.
>
> Attached you'll find a patch for:
> 1. SIP-4.4.5 implementing the mt step discussed today (better late than
> never).

A similar patch is in tonight's snapshot.

> 2. qscintilla-1.6-1.65 containing:
>    - a workaround for Win64's 4 byte longs
>    - a const_cast (MSVS2005 is very picky)

These are already fixed in current snapshots.

> 3. PyQt-3.16 containing:
>    - the introduction a feature Qt_QLONG_LARGER_THAN_LONG to work around
>      Win64's 4 byte longs.
>    - the use of this feature in qglobal.sip to typedef Q_LONG and Q_ULONG
>    - the use of this feature in qiodevice.sip to typedef Offset.
>    - a correction of the SIP declaration for the virtual member function
>      readBlock() to make MSVS2005 happy.
>    - the declaration of the feature Qt_QLONG_LARGER_THAN_LONG in
> versions.sip

I've changed these slightly so that the feature is normally enabled. Let me 
know if I've broken anything.

Thanks,
Phil




More information about the PyQt mailing list