简体   繁体   中英

qws parameter for Qt-embedded is not working

I created a basic Qt application for Qt-embedded but when I executed that application in my target platform using the -qws parameter then an error message always appear, please see below,

#./test_app -qws
QWSSocket::connectToLocalFile could not connect:: Connection refused QWSSocket::connectToLocalFile could not connect:: Connection refused QWSSocket::connectToLocalFile could not connect:: Connection refused QWSSocket::connectToLocalFile could not connect:: Connection refused QWSSocket::connectToLocalFile could not connect:: Connection refused QWSSocket::connectToLocalFile could not connect:: Connection refused
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. terminate called without an active exception Aborted

Please advice.

Thanks.

  • Is "test_app" linked again qt/embedded?
  • What print "strace ./test_app"
  • Have you played with LD_DEBUG-environmnt variable?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM