QT error: member access into incomplete type 'QTcpSocket'
mainwindow.cpp:77:44: error: member access into incomplete type 'QTcpSocket'
qtcpserver.h:55:7: note: forward declaration of 'QTcpSocket'
添加:#include <QtNetwork>
欢迎讨论,相互学习。
cdtxw@foxmail.com