- 积分
- 15
贡献131
飞刀2 FD
注册时间2016-5-7
在线时间0 小时
扫一扫,手机访问本帖
|
在Ubuntu中写好的qt程序在里面编译完成后移到了开发板中,照着说明手册中修改了环境变量但是还是提示缺少库libQtGui.so.4 我在开发版中搜索了下这个库在文件夹qt-4.7.1,不是在文件夹 qtopia下
下面是我设置的环境变量 照着移植手册上写的脚本不知道正确不
#!/bin/sh
export PATH='/opt/Qtopia/bin:/sbin:/usr/sbin:/bin:/usr/bin'
export QPEDIR='/opt/Qtopia'
export QTDIR='/opt/Qtopia'
export QT_QWS_FONTDIR='/opt/Qtopia/lib/fonts/'
export QWS_DISPLAY='LinuxFb:mmWidth76:mmHeight44:1'
export QWS_MOUSE_PROTO='Tslib:/dev/input/event1'
export TSLIB_CALIBFILE='/etc/pointeral'
export TSLIB_CONFFILE='/usr/local/tslib/etc/ts.conf'
export TSLIB_CONSOLEDEVICE='none'
export TSLIB_FBDEVICE='/dev/fb0'
export TsLIB_PLUGINDIR='/usr/local/tslib/lib/ts'
export TSLIB_ROOT='/usr/local/tslib'
export TSLIB_TSDEVICE='/dev/input/event1'
export TSLIB_TSEVENTTYPE='H3600'
export QT_PLUGIN_PATH='opt/Qtopia/plugins:/opt/Qtopia/qt_plugins/'
export LD_LIBRARY_PATH='/opt/Qtopia/lib'
echo "cheyang"
chmod 777 qtb.sh
|
|