[PyKDE] SIP/PyQt v3.1pre3

Phil Thompson phil at river-bank.demon.co.uk
Sat Mar 2 12:10:07 GMT 2002

Janez Jere wrote:
> Hi,
> I want to build PyQt with QThread, because I need QThread.postEvent, (as I
> found in Qt sources, it will correctly add event from Python thread in a Qt
> Event Queue).
> But I am not very successful with building it on redhat 7.2.
> I tried to build it several times. In first attempt configure didn't
> recognise that qt is build with -thread.
> In second attempt I replaced all qt-mt) with qt) in configure,
> than -DQT_THREAD_SUPPORT switch was added to scripts.
> but compile failed. What should I do?

Sorry, a couple of Qt3 methods leaked into the Qt2 support.

You can either wait until v3.1pre4, or you can edit qt/sipqtQThread.cpp
and comment out the two offending calls to QThread::initialize() and


More information about the PyQt mailing list