Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED] QTcpServer QObject::connect() error
tucnak last edited by
Slot in my TcpServer (rel. of QTcpServer)
QTcpSocket *a = nextPendingConnection();
connect(a, SIGNAL(readyRead()), this, SLOT(readSocket())); // error here.
<code>no matching function for call to 'TcpServer::connect(QTcpSocket*&, const char , TcpServer* const, const char )'</code>
UPD: bug was very stupid. I don't included QTcpSocket;)