[PyQt] SIP Make install on windows

2009-12-21 Thread F Bourbonnais
I'm trying to package a Python binding using SIP. All is working fine on GNU/Linux but on Windows, the "mingw32-make install" doesn't copy files if the destination directory already exists. The problem seems to be in the generated Makefile: * Each "copy /y ..." lines placed after a "@if not e

[PyQt] Simple QGV crash

2009-12-21 Thread Jason H
This used to work, but my latest sip&pyqt snapshots crashes. import sys from PyQt4.QtCore import * from PyQt4.QtGui import * class Main(QGraphicsView): def __init__(self, parent=None): QGraphicsView.__init__(self, parent) pass if __name__=="__main__": a = QApplicati

[PyQt] pyuic4 and python3

2009-12-21 Thread Mitchell Model
When I installed PyQt4 using Python3, the pyuic4 script installed uses pythonw, not python3 (or pythonw3 if that exists). As a result, it used python 2.6, which did not include a PyQt installation, and it couldn't find PyQt4. Officially Python 3 should be invoked as python3. Is this somethi

[PyQt] Trouble with scanline

2009-12-21 Thread Anita Westman
I'm trying to convert a c++ example to python, but I'm stuck on how to convert the result of the scanline method to QRgb in python. These are the 2 lines I'm having trouble with. 1. p = result->scanLine(r1) + col*4; 2. QRgb* pixel1 = (QRgb*)(buffer.scanLine(y1)) + x; _

Re: [PyQt] Support for Qt v4.6

2009-12-21 Thread Attila Csipa
On Monday 21 December 2009 16:35:43 Phil Thompson wrote: > Looks like you aren't using a current SIP snapshot. Indeed, I missed the comment about sipError in the SIP changelog. As always, it's best to use paired SIP/PyQt snapshots, but when build times near 10+ hours, people tend to try to take

Re: [PyQt] Support for Qt v4.6

2009-12-21 Thread Phil Thompson
On Mon, 21 Dec 2009 16:12:43 +0100, Attila Csipa wrote: > On Monday 21 December 2009 15:13:20 Phil Thompson wrote: >> > I'm probably stating the obvious, but there are a few 4.5 regressions >> > in >> > snapshots (qmatrix4x4 was the first I ran into) that will have to be >> >> Snapshots build agai

Re: [PyQt] Support for Qt v4.6

2009-12-21 Thread Attila Csipa
On Monday 21 December 2009 15:13:20 Phil Thompson wrote: > > I'm probably stating the obvious, but there are a few 4.5 regressions in > > snapshots (qmatrix4x4 was the first I ran into) that will have to be > > Snapshots build against Qt v4.5 without problems. Granted, I'm compiling for ARM, not x

[PyQt] Small Project Proposal: file upload client

2009-12-21 Thread Matt Smith
I have a small project I am going to try involving large file uploads. I want to make a small pyqt application that would enable large file uploads via http post requests of smaller chunks. Part of the reason I am posting it here is because of "releasing". I have access to windows computers so

Re: [PyQt] Support for Qt v4.6

2009-12-21 Thread Phil Thompson
On Mon, 21 Dec 2009 14:55:26 +0100, Attila Csipa wrote: > On Sunday 20 December 2009 15:23:16 Simon Edwards wrote: >> > For those interested, the current PyQt and SIP snapshots fully support >> > Qt >> > v4.6. I've also ported the animation examples. >> >> I'm compiling PyKDE trunk with it and fir

Re: [PyQt] Support for Qt v4.6

2009-12-21 Thread Attila Csipa
On Sunday 20 December 2009 15:23:16 Simon Edwards wrote: > > For those interested, the current PyQt and SIP snapshots fully support Qt > > v4.6. I've also ported the animation examples. > > I'm compiling PyKDE trunk with it and first problem I've hit is that a > mapped type for QSet is now availabl

[PyQt] JavaScript in WebView-Looking for C++ examples

2009-12-21 Thread projetmbc
Hello, I'm looking of examples showing how to use JavaScript programs (like for example jQuery) in a WebView. Every kinds of clues are welcome. Best regards. Christopĥe ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing