标题:qtopia移植后运行的提示,高手帮解决一下~
作者:oneke
日期:2008-09-27 17:48
内容:
想把qtopia移植到板子上运行,编译通过,但通过脚本文件运行时却提示:
/home/oneke/QT/build/image/bin/qpe: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
大意是找不到“ libasound.so.2 ”但这个文件,我满世界找了一圈都没有找到,不知道是什么原因,是不是在configure上要作一些什么修改呢,我的configure如下:
(为了查看方便,改成分行,在输入命令时是用空格连在一起的)
configure
-silent
-release
-xplatform linux-mips-g++
-arch mips
-no-qvfb
-no-modem
-no-bluetooth
-no-drm
-no-infrared
我的脚本文件如下:
#!/bin/sh
export set QTOPIA=/home/oneke/QT/build
#export QWS_DISPLAY="LinuxFb:mmWidth30:mmHeight40:0"
export set LD_LIBRARY_PATH=$QTOPIA/lib
export set PATH=$QTOPIA/bin
$QTOPIA/bin/qpe &
#1 [sodwell 09-28 08:08]
加上-qws试一下
#2 [oneke 09-28 09:53]
不能加-qws,加上之后configure都通不过
#3 [chinafei 09-28 10:08]
缺少库,你找下你交叉编译环境中的qt/lib里面应该有你需要的库
#4 [chinafei 09-28 10:09]
顺便问一句
Create pluginlibman in libqpe
然后程序就卡住不动了,为什么呢?
#5 [sodwell 09-28 10:34]
我说的是:
$QTOPIA/bin/qpe & 脚本里的这句话 改成 $QTOPIA/bin/qpe -qws &