2

我有一个用于基于 arm 的板的简单 qt 应用程序,使用 yocto 构建,我正在尝试在目标中运行它。如果没有 linux 中的网络支持,我会收到如下错误。

root@ek:~# mainwindow
QWSSocket::connectToLocalFile could not connect:: Function not implemented
QWSSocket::connectToLocalFile could not connect:: Function not implemented
QWSSocket::connectToLocalFile could not connect:: Function not implemented
QWSSocket::connectToLocalFile could not connect:: Function not implemented
QWSSocket::connectToLocalFile could not connect:: Function not implemented
QWSSocket::connectToLocalFile could not connect:: Function not implemented
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.
root@ek:~# mainwindow -qws
QWSServerSocket::init: Function not implemented
QWSServerSocket: unable to create socket.
QWSServerPrivate::initServer: server socket not listening: Function not implemented
Failed to bind to /tmp/qtembedded-0/QtEmbedded-0
Aborted
root@ek:~#

有没有办法(配置)在不使用内核网络框架的情况下构建 qt 应用程序。我想要为我的微型设备提供非常小的内核映像。

4

0 回答 0