[PyQt] Bug in setEventFilter?

2011-03-18 Thread Brett Stottlemyer
I'm trying to process WM_INPUT in an application. I know that in Qt you need to use QAbstractEventDispatcher and setEventFilter to get the messages. However, when I try to use setEventFilter, I get an Attribute error, 'QAbstractEventDispatcher' object has no attribute 'setEventFilter'. An example

Re: [PyQt] segfault when using qml (probably reference counting error)

2011-03-18 Thread Rex Dieter
On 03/18/2011 03:55 PM, Phil Thompson wrote: On Fri, 18 Mar 2011 16:20:23 +, Phil Thompson wrote: On Fri, 18 Mar 2011 10:54:16 -0500, Rex Dieter wrote: Quoting downstream bug report, https://bugzilla.redhat.com/show_bug.cgi?id=676042 (Using PyQt-4.8.3)... When running some simple PyQt4

Re: [PyQt] segfault when using qml (probably reference counting error)

2011-03-18 Thread Phil Thompson
On Fri, 18 Mar 2011 16:20:23 +, Phil Thompson wrote: > On Fri, 18 Mar 2011 10:54:16 -0500, Rex Dieter > wrote: >> Quoting downstream bug report, >> https://bugzilla.redhat.com/show_bug.cgi?id=676042 >> >> (Using PyQt-4.8.3)... >> >> When running some simple PyQt4 + QML apps, a segfault can

[PyQt] installation problem on mac os x 10.6.6

2011-03-18 Thread Danny Shevitz
Howdy, I'm trying to install pyqt on a mac and have run into a problem. I'm running Python 3.2 64 bit, Mac OS X 10.6.6. Python 3.2 (r32:88452, Feb 20 2011, 11:12:31) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin I installed Qt from the installer, 4.7.2. I installed SIP form source no problem.

Re: [PyQt] segfault when using qml (probably reference counting error)

2011-03-18 Thread Phil Thompson
On Fri, 18 Mar 2011 10:54:16 -0500, Rex Dieter wrote: > Quoting downstream bug report, > https://bugzilla.redhat.com/show_bug.cgi?id=676042 > > (Using PyQt-4.8.3)... > > When running some simple PyQt4 + QML apps, a segfault can be produced when > the QML tries to make use of an object that is e

[PyQt] segfault when using qml (probably reference counting error)

2011-03-18 Thread Rex Dieter
Quoting downstream bug report, https://bugzilla.redhat.com/show_bug.cgi?id=676042 (Using PyQt-4.8.3)... When running some simple PyQt4 + QML apps, a segfault can be produced when the QML tries to make use of an object that is exposed to it by the PyQt code. Changing the code very slightly so th

Re: [PyQt] Problem with pyrcc / compression

2011-03-18 Thread Phil Thompson
On Tue, 15 Mar 2011 14:35:00 +0100, Giuseppe Corbelli wrote: > Hi all > weird situation happening with PyQt 4.8.3/Qt 4.7.1/Python 2.6.6 on Linux. > > I create a .qrc like the one attached. Then I "compile" it using > > cowo@cowo:~/tmp/x$ pyrcc4 -verbose -compress 9 -o r_application_rc.py > r_app