我按照本网站上的《Fedora12下搭建Qt Creator的ARM开发环境 并 移植Qt4.6.2到Micro2440(二)》做,出现了几个问题:
1:./books: error while loading shared libraries: libts-0.0.so.0: cannot open share
d object file: No such file or directory
2:./books: error while loading shared libraries: libQtGui.so.4: cannot open shar。。。
3:QFontDatabase: Cannot find font directory /usr/local/Trolltech/QtEmbedded-4.6.3/
lib/fonts - is Qt installed correctly?
Aborted:
4:Illegal instruction
第四个问题我就不知道怎么办解决了,有高手能帮忙解决一下,谢谢您!
我使用这样的
export QTDIR=/usr/local/Trolltech/QtEmbedded-4.6.3-arm
export QPEDIR=/usr/local/Trolltech/QtEmbedded-4.6.3-arm
export TSLIB_ROOT=/usr/local/tslib
export PATH=$QTDIR/bin:$PATH
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_TSDEVICE=/dev/input/event0
export TSLIB_PLUGINDIR=$TSLIB_ROOT/lib/ts
export TSLIB_CONFFILE=$TSLIB_ROOT/etc/ts.conf
export TSLIB_CALIBFILE=/etc/pointercal
export QWS_MOUSE_PROTO=Tslib:/dev/input/event0
export QWS_DISPLAY=LinuxFb:/dev/fb0
export QWS_SIZE=240x320
export LD_LIBRARY_PATH=$TSLIB_ROOT/lib:$QTDIR/lib:/usr/local/lib:$LD_LIBRARY_PATH
使用的开发板是ting6410,7寸,出厂系统没有外加什么,使用的是串口传文件,给我的感觉好像我上面配置的环境都没有起作用,我是将tslib及arm4.6.3/lib打包下载到开发板的,放在上面指定的位置。可是就是运行不了qtctreator编译好的程序
root@ubuntu:/home/books# file books
books: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, stripped
QT4.6.3 Illegal instruction怎么办,求求帮帮忙
-
- 帖子: 4
- 注册时间: 2013-05-01 21:32
- 系统: ubuntu13.04