關於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中 直到不再提示錯誤

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章