现在的位置: 首页 > 综合 > 正文

QT问题综述(不断更新)

2014年01月12日 ⁄ 综合 ⁄ 共 248字 ⁄ 字号 评论关闭

1、QUdpSocket: No such file or directory or QTcpSocket: No such file or directory

今天写一个Qt服务端时遇到了这个问题。

解决方法:

修改.pro文件,在QT  += core gui后加上network,即为:QT += core gui network。

2、x11 extensions xtest.h no such file or directory

解决办法:

需要安装libxtst-dev库,在ubuntu下只需apt-get install libxtst-dev。

抱歉!评论已关闭.