您的位置:首页 > 编程语言 > Qt开发

嵌入式Qt程序启动参数-qws

2015-09-01 09:25 489 查看
1 背景

通过串口终端启动arm开发板(linux系统)的Qt应用程序,提示:

[root@FORLINX6410]# /opt/qt-4.7.1/demos/textedit/textedit                       
s3c-nand: 1 bit(s) error detected, corrected successfully                       
QWSSocket::connectToLocalFile could not connect:: No such file or directory     
QWSSocket::connectToLocalFile could not connect:: No such file or directory     
QWSSocket::connectToLocalFile could not connect:: No such file or directory     
QWSSocket::connectToLocalFile could not connect:: No such file or directory     
QWSSocket::connectToLocalFile could not connect:: No such file or directory     
QWSSocket::connectToLocalFile could not connect:: No such file or directory     
No Qt for Embedded Linux server appears to be running.                          
If you want to run this program as a server,                                    
add the "-qws" command-line option.
根据提示,加上-qws参数后,可以正确启动。

参考资料

[1]qt 程序启动参数 -qws

[2]QT中QWS的含义

[3]关于QWSServer
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: