[PyKDE] QThread gone?

Phil Thompson phil at riverbankcomputing.co.uk
Fri Nov 21 08:41:00 GMT 2003


On Friday 21 November 2003 1:30 am, Eric Williams wrote:
> Hi there,
>
> I've just installed the new version of PyQt (PyQt-x11-gpl-3.8.1), and now
> my program doesn't work anymore.  It fails with the following:
>
> Traceback (most recent call last):
>   File "./QSynclogs.py", line 27, in ?
>     import FTPWorker
>   File "/home/eric/Desktop/Data/Dev/Python/QSynclogs/FTPWorker.py", line
> 21, in ?
>     from qt import QThread,qApp, QCustomEvent
> ImportError: cannot import name QThread
>
>
> System:
> Slackware 9.1
> Qt 3.2.1
> Python 2.3.1
> PyQt-x11-gpl-3.8.1
>
> What happened?  If QThread isn't there anymore, what's the alternative?

Thread support is determined when you build PyQt. Check the messages that were 
displayed.

Phil




More information about the PyQt mailing list