[Qt-interest] connect fails at type conversion

Julien Cugnière julien.cugniere at gmail.com
Mon Apr 20 14:34:29 CEST 2009


2009/4/20 Matthias Pospiech <matthias.pospiech at gmx.de>
>
> class MicroSMCCtrlWaitThread : QThread
>

You forgot "public", so this is equivalent to « class MicroSMCCtrlWaitThread
: private QThread », which means that your class can't be casted to QThread
(or QObject).
You need to use « class MicroSMCCtrlWaitThread : public QThread ».

-- 
Julien Cugnière
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090420/5cfb954a/attachment.html 


More information about the Qt-interest-old mailing list