eagleye

Qt之TCP编程中 socketDescriptor类型必须为qintptr!!!

QTcpServer之虚函数必须为:
protected:
    void incomingConnection(qintptr socketDescriptor);

不能为:
protected:
    void incomingConnection(int socketDescriptor);
 

posted on 2022-08-05 20:05  GoGrid  阅读(348)  评论(0)    收藏  举报

导航