[Qt-interest] Slots in threads ?
Thiago Macieira
thiago.macieira at trolltech.com
Fri Aug 28 00:08:23 CEST 2009
Em Quinta-feira 27. Agosto 2009, às 19.33.28, você escreveu:
> mainwindow.cpp:35: error: no matching function for call to
> `MainWindow::connect(GameBoard*&, const char*, SimulationEngine*, const
> char*)'
>
> c:/Qt/2009.03/qt/include/QtCore/../../src/corelib/kernel/qobject.h:202:
> note: candidates are: static bool QObject::connect(const QObject*, const
> char*, const QObject*, const char*, Qt::ConnectionType)
This error and its note mean that one or both types GameBoard* and
SimulationEngine* could not be converted to QObject*.
This either means that one of the classes doesn't derive from QObject, or that
you forgot to #include its header file.
--
Thiago Macieira - thiago.macieira (AT) nokia.com
Senior Product Manager - Nokia, Qt Development Frameworks
Sandakerveien 116, NO-0402 Oslo, Norway
Qt Developer Days 2009 | Registration Now Open!
Munich, Germany: Oct 12 - 14 San Francisco, California: Nov 2 - 4
http://qt.nokia.com/qtdevdays2009
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090828/4f4f3e9b/attachment.bin
More information about the Qt-interest-old
mailing list