- 论坛徽章:
- 0
|
环境:硬件:2440
平台:ubuntu QT4.5-X11 QT4.5-EMBEDDED-X86 QT4.5-EMBEDDED-ARM 都编译成功,都支持QVFB
ARMLINUX-2.6.13
目前采用NFS挂载文件系统方式
状态:将X86的DEMO/MAINWINDOW在QVFB中间跑一下,没问题 重新交叉编译一下,no error no warning
将QT4.5 for embedded arm的LIB 复制到了板子的目录下,在板子上运行./mainwindow
出现如下错误:
[root@EmbedSky /root]# ./mainwindow
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?
迷信一下 ./mainwindow -qws
出现如下错误:
./mainwindow: relocation error: /usr/local/Trolltech/QtEmbeddedARM/lib/libQtGui.so.4: symbol __floatsisf, version GCC_3.0 not defined in file libgcc_s.so.1 with link time reference
请问是GCC版本过低吗?
没有思路,请各位帮忙了
当然中间还有许多库连接不到的情况,都已经搞定了,LIB路径是不会有问题的 |
|