Re: [PyQt] Missing QPageSize enum in vars(QPrinter) ?

2013-10-12 Thread Phil Thompson
On Thu, 10 Oct 2013 09:43:10 -0400, lloyd konneker boo...@nc.rr.com wrote: This code worked in PyQt4 and Qt4 to get a dictionary of paper size names: paperSizeNames = {} print(vars(QPrinter)) for key, value in vars(QPrinter).items(): # Python2 iteritems(): if isinstance(value,

Re: [PyQt] SIP_READ_ONLY was not declared in this scope

2013-10-12 Thread Phil Thompson
On Wed, 9 Oct 2013 19:16:59 +0200, Filippo Cucchetto filippocucche...@gmail.com wrote: Hi, i'm trying to cross compile the PyQt bindings for my raspberry pi. During the build process make fails with:

Re: [PyQt] making sip-4.15.2 - how much memory does this need???

2013-10-12 Thread Timothy W. Grove
Okay. I've updated my MinGW files and seem to have gotten away from my memory problems. It appears that 'make' was just looping, going in and out of the sipgen directory and not much else until my system ran out of memory space. Now, starting with a clean download of sip and running commands

[PyQt] Installing SIP snapshot - 'install' fails

2013-10-12 Thread Timothy W. Grove
I'm getting a little nearer to installing SIP. I've downloaded the latest snapshot and entered the commands into a MYSYS terminal: $ /c/python33/python.exe configure.py --platform win32-g++ $ make $ make install Configure and Make seem okay but Install fails. /bin/sh: -c: line 1: syntax

Re: [PyQt] Installing SIP snapshot - 'install' fails

2013-10-12 Thread Timothy W. Grove
Just another comment, since I got as far as 'making' sip, would it be enough to manually copy the files to their proper place? The SIP code generator will be installed in c:\python33. The sip module will be installed in c:\python33\Lib\site-packages. The sip.h header file will be installed in