[PyKDE] QTimers on MacOSX?

Tobias Rundström tru at xmms.org
Wed Feb 8 20:04:17 GMT 2006


El 07-02-2006, a las 10:00, Tobias_Rundström escribió:

> 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.
>
> 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".

To repond myself,

Acutually it seems like QSocketNotifer doesn't work either.

Anyone working with the MacOSX port that know what's going on? Or  
have hints on where I should look? It seems like pythonw starts some  
kind of thread madness, or something.

Any pointers would be appriciated.

-- Tobias




More information about the PyQt mailing list