当前位置: 技术问答>linux和unix
有关Qt/E的安装问题
来源: 互联网 发布时间:2015-10-08
本文导语: 安装Qt/E时: #tar zxvf qt-embedded-free-3.2.0.tar.gz #cd qt-embedded-free-3.2.0 简便起见把qt-embedded-free-3.2.0更名为:qt3.2 #export QTDIR=/usr/local/qt3.2 #export LD_LIBRARY_PATH=/usr/local/qt3.2/lib:$LD_LIBRARY_PATH # ./configure -shared -debug -qt-gif -no-except...
安装Qt/E时:
#tar zxvf qt-embedded-free-3.2.0.tar.gz
#cd qt-embedded-free-3.2.0
简便起见把qt-embedded-free-3.2.0更名为:qt3.2
#export QTDIR=/usr/local/qt3.2
#export LD_LIBRARY_PATH=/usr/local/qt3.2/lib:$LD_LIBRARY_PATH
# ./configure -shared -debug -qt-gif -no-exceptions -embedded arm
-thread -no-nis -no-cups -no-stl -qt-imgfmt-jpeg -qt-imgfmt-mng
-qt-imgfmt-png -qt-mouse-s3c2410ts
#make
有错误吗?为何make时出错:
/usr/local/arm/2.95.3/arm-linux/bin/ld: cannot find -lqassistantclient
collect2: ld returned 1 exit status
make[3]: *** [helpdemo] Error 1
make[3]: Leaving directory `/usr/local/qt3.2/examples/helpdemo'
make[2]: *** [sub-helpdemo] Error 2
make[2]: Leaving directory `/usr/local/qt3.2/examples'
make[1]: *** [sub-examples] Error 2
make[1]: Leaving directory `/usr/local/qt3.2'
make: *** [init] Error 2
难道是交叉编译器的问题吗?
#tar zxvf qt-embedded-free-3.2.0.tar.gz
#cd qt-embedded-free-3.2.0
简便起见把qt-embedded-free-3.2.0更名为:qt3.2
#export QTDIR=/usr/local/qt3.2
#export LD_LIBRARY_PATH=/usr/local/qt3.2/lib:$LD_LIBRARY_PATH
# ./configure -shared -debug -qt-gif -no-exceptions -embedded arm
-thread -no-nis -no-cups -no-stl -qt-imgfmt-jpeg -qt-imgfmt-mng
-qt-imgfmt-png -qt-mouse-s3c2410ts
#make
有错误吗?为何make时出错:
/usr/local/arm/2.95.3/arm-linux/bin/ld: cannot find -lqassistantclient
collect2: ld returned 1 exit status
make[3]: *** [helpdemo] Error 1
make[3]: Leaving directory `/usr/local/qt3.2/examples/helpdemo'
make[2]: *** [sub-helpdemo] Error 2
make[2]: Leaving directory `/usr/local/qt3.2/examples'
make[1]: *** [sub-examples] Error 2
make[1]: Leaving directory `/usr/local/qt3.2'
make: *** [init] Error 2
难道是交叉编译器的问题吗?
|
老兄,慢点搞吧,不要急,没资料啊!你QTE里面先不要配交叉编译环境试试.如果能安装那一定就是交叉编译环境有问题.