[PyKDE] QTimers on MacOSX?

Phil Thompson phil at riverbankcomputing.co.uk
Tue Mar 14 08:44:57 GMT 2006


On Tuesday 07 February 2006 1:00 pm, Tobias Rundström wrote:
> Hello,
>
> I have just got PyQT4 to work on MacOSX tiger. It was required to
> compile qt4 with -no-framework, then I had no problems with it.

It should now build with both framework and no-framework configurations.

> But, it seems like QTimers doesn't work well on macosx? When I try to
> use a QTimer i get this assertion:
>
> vm-win98-01:/Data/xmms2/kjell tru$ pythonw test_timer.py
> QTimer can only be used with a valid thread
>
> I included a small test program, it works fine under Linux and in C++
> but not in PyQT on MacOSX. I have been executing the programs with
> "pythonw".

This works fine for me with current snapshots and Qt 4.1.1.

Phil




More information about the PyQt mailing list