mainwindow.cpp:77:44: error: member access into incomplete type 'QTcpSocket'
qtcpserver.h:55:7: note: forward declaration of 'QTcpSocket'
添加:#include <QtNetwork>
mainwindow.cpp:77:44: error: member access into incomplete type 'QTcpSocket'
qtcpserver.h:55:7: note: forward declaration of 'QTcpSocket'
添加:#include <QtNetwork>