Re: [PyQt] Updating the windows installer for Qt 4.4

2008-05-14 Thread Giovanni Bajo
On 5/13/2008 2:43 PM, Phil Thompson wrote: Let me think about this a bit more. My problem wasn't with the single installer in itself, it was the big static build which is too inflexible and getting more difficult to create. My own concerns is about having PyQt and Qt installed within

[PyQt] SIP, multiple constructors and exceptions

2008-05-14 Thread Andrew Perella
When a class is wrapped with multiple constructors, the generated sip binding code does not raise an exception if the python calling code does not provide matching arguments. Is this by design? Eg: extern C {static void *init_CutScenePythonState(sipWrapper *, PyObject *, sipWrapper **,

[PyQt] Perhaps a bug with virtual methods?

2008-05-14 Thread Andrew Perella
Suppose I have the following sip definitions: class A { public: virtual void Enter(); }; class B:A { public: }; class C: B { public: }; The generated code produces an Enter() method of the sip wrapped C class where if the method is not passed

[PyQt] configuring pykde4, error

2008-05-14 Thread Darren Dale
I am working on compiling pykde4-4.0.2-1. I have installed qt-4.4_rc1 (I know the final version is out, gentoo hasnt included it yet in their package manager) sip-4.7.5, qscintilla-2.2, and PyQt4-4.4. When I run configure.py, I get an error: Generating the C++ source for the kdecore module...

[PyQt] QItemDelegate Subclass

2008-05-14 Thread Baba-k
Hey Guys, I'm trying to write a simple QItemDelegate subclass but am having some problems, and was wondering if anyone might be able to help me out and shed some light on what I could be doing wrong? For the most part it works as expected, until it comes to signals, specifically the closeEditor

Re: [PyQt] configuring pykde4, error

2008-05-14 Thread Jim Bublitz
On Wednesday 14 May 2008 10:27, Darren Dale wrote: I am working on compiling pykde4-4.0.2-1. I have installed qt-4.4_rc1 (I know the final version is out, gentoo hasnt included it yet in their package manager) sip-4.7.5, qscintilla-2.2, and PyQt4-4.4. When I run configure.py, I get an error:

[PyQt] Problem building PyQt 4.4 on Mac OS X (10.4.11)

2008-05-14 Thread Romuald Riem
Hello, I'm trying to build and install PyQt 4.4 on Mac os 10.4.11. I use Python 2.5 and Qt 4.4 (GPL version). I installed PyQt 4.3.3 without any problem. I use default values (and the link to qmake) with configure.py The only strange thing at this step is this message: ... QtDesigner module

Re: [PyQt] configuring pykde4, error

2008-05-14 Thread Darren Dale
On Wednesday 14 May 2008 01:58:37 pm Jim Bublitz wrote: On Wednesday 14 May 2008 10:27, Darren Dale wrote: I am working on compiling pykde4-4.0.2-1. I have installed qt-4.4_rc1 (I know the final version is out, gentoo hasnt included it yet in their package manager) sip-4.7.5,

Re: [PyQt] Problem building PyQt 4.4 on Mac OS X (10.4.11)

2008-05-14 Thread Hans-Peter Jansen
Am Mittwoch, 14. Mai 2008 schrieb Romuald Riem: Hello, I'm trying to build and install PyQt 4.4 on Mac os 10.4.11. I use Python 2.5 and Qt 4.4 (GPL version). I installed PyQt 4.3.3 without any problem. I use default values (and the link to qmake) with configure.py The only strange thing

Re: [PyQt] configuring pykde4, error

2008-05-14 Thread Jim Bublitz
On Wednesday 14 May 2008 12:09, Darren Dale wrote: On Wednesday 14 May 2008 01:58:37 pm Jim Bublitz wrote: On Wednesday 14 May 2008 10:27, Darren Dale wrote: I am working on compiling pykde4-4.0.2-1. I have installed qt-4.4_rc1 (I know the final version is out, gentoo hasnt included it

Re: [PyQt] configuring pykde4, error

2008-05-14 Thread Darren Dale
On Wednesday 14 May 2008 04:14:43 pm Jim Bublitz wrote: On Wednesday 14 May 2008 12:09, Darren Dale wrote: On Wednesday 14 May 2008 01:58:37 pm Jim Bublitz wrote: On Wednesday 14 May 2008 10:27, Darren Dale wrote: However, now when I run make I get an error that I am unable to diagnose

[PyQt] [PyQt4] Wrong QtCore.QLibraryInfo.BinariesPath on Windows

2008-05-14 Thread IloChab
I have an application that uses QtCore.QLibraryInfo.BinariesPath() to locate Qt4 assistant and show a customized help. On linux I have no problem but on Windows I get a wrong translation. On windows I just installed : * qt-win-opensource-4.3.4-mingw.exe * PyQt-Py2.5-gpl-4.3.3-2.exe and I

[PyQt] Getting QGraphicsWidget from methods that return QGraphicsItems

2008-05-14 Thread Aron Bierbaum
I have been having problems when trying to iterate over a list returned from QGraphicsScene.items(). It appears that even though I add a QGraphicsWidget instance, I never get it back out. I actually traced this down when trying to add support to PyQt for Qt 4.4 a few months ago. The following

[PyQt] Re: Getting QGraphicsWidget from methods that return QGraphicsItems

2008-05-14 Thread Aron Bierbaum
Sorry, I forgot to include the new code: case 11: // We need to explicitly cast because of the multiple inheritance. *sipCppRet = static_castQGraphicsWidget *(sipCpp); sipClass = sipClass_QGraphicsWidget; break; case 12:

Re: [PyQt] configuring pykde4, error

2008-05-14 Thread Jim Bublitz
On Wednesday 14 May 2008 13:54, Darren Dale wrote: On Wednesday 14 May 2008 04:14:43 pm Jim Bublitz wrote: On Wednesday 14 May 2008 12:09, Darren Dale wrote: On Wednesday 14 May 2008 01:58:37 pm Jim Bublitz wrote: On Wednesday 14 May 2008 10:27, Darren Dale wrote: g++ -c

Re: [PyQt] [PyQt3] QRegion.rects() missing

2008-05-14 Thread Hans-Peter Jansen
Am Mittwoch, 14. Mai 2008 schrieb Hans-Peter Jansen: Am Mittwoch, 14. Mai 2008 schrieb Phil Thompson: On Saturday 10 May 2008 22:43:34 Hans-Peter Jansen wrote: Hi, for optimizing reasons, I'm desperately missing the QRegion.rects() method. Background is a special double buffering