关于QTE3.3.8配置问题与出现问题

ts1.4编译通过后安装的目录:/share/tslib  (文件系统根目录下)
    ./configure --prefix=/share/tslib --host=arm-linux  ac_cv_func_malloc_0_nonnull=yes --enable-inputapi=yes
    make
    make install

QTE3.3.8配置:
设置环境变量
export QTDIR=/root/build_qt/qte
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export PATH=/usr/local/arm/4.1.2/bin:$QTDIR/bin:$PATH


./configure -qt-libjpeg  -qt-gif  -qt-libpng -system-libjpeg -qt-libmng -qt-imgfmt-jpeg  -embedded arm -thread  -no-cups  -no-stl  -no-mouse-pc -no-mouse-yope -no-mouse-bus -no-mouse-vr41xx  -qt-mouse-tslib -I/share/tslib/include -L/share/tslib/lib -lts  -qconfig local  -depths 4,8,16,32 -qvfb


问题1来了:
/usr/bin/ld: skipping incompatible /share/tslib/lib/libts.so when searching for -lts
/usr/bin/ld: cannot find -lts
collect2: ld 返回 1
make[2]: *** [../../bin/moc] 错误 1
make[2]: Leaving directory `/root/build_qt/qte/src/moc'
make[1]: *** [src-moc] 错误 2
make[1]: Leaving directory `/root/build_qt/qte'
make: *** [init] 错误 2

说明没有bin/中没有moc 命令,需再一次复制/usr/lib/qt-3.3/bin/moc 到你的配置文件中的/bin中 直到不再提示错误

本文出自 “小战神博客” 博客,请务必保留此出处http://510909959.blog.51cto.com/9448632/1647259

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值