[SOLVED] QTcpServer QObject::connect() error
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;)