Im trying make a TcpServer with QTcpServer, but i get a error. Im follow this example:
I get the errors:
"tcpServerConnection" is declared on header as "QTcpSocket *tcpServerConnection".
If i comment the line where i get the error it compile normal:
"connect(tcpServerConnection, SIGNAL(disconnected()), tcpServerConnection, SLOT(deleteLater()));"
The problem is when i try use the object "tcpServerConnection".
I cant do anything with it that i get an error and the code complete doesnt work when i try:
The fortune server example works fine, but mine not o.o