标题:qt-embedded-3.3.6安装出错!
作者:hunhunzi
日期:2006-04-07 13:13
内容:
本人想以arm处理器为目标安装的,
我已经安装完了qt-x11-3.3.2并把其下的bin目录下的可执行文件拷贝到了qt-embedded-3.3.6的bin目录下,
然后:
exportQTDIR=/usr/qt-3.3.2/qt-3.3.6
export PATH=$QTDIR/bin:$PATH
export MANPATH=$QTDIR/doc/man:$MANPATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
再./configure -platform linux-arm-g++ -qconfig qpe -depths 8,46,24,32
make之后就出现了以下错误:
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -O2-DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/qt-3.3.2/qt-3.3.6/mkspecs/linux-arm-g++ -I. -I../../include -I../tools -I. -o ./qtextstream.o ../tools/qtextstream.cpp
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -O2-DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/qt-3.3.2/qt-3.3.6/mkspecs/linux-arm-g++ -I. -I../../include -I../tools -I. -o ./qbitarray.o ../tools/qbitarray.cpp
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -O2-DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/qt-3.3.2/qt-3.3.6/mkspecs/linux-arm-g++ -I. -I../../include -I../tools -I. -o ./qmap.o ../tools/qmap.cpp
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -O2-DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/qt-3.3.2/qt-3.3.6/mkspecs/linux-arm-g++ -I. -I../../include -I../tools -I. -o ./qgcache.o ../tools/qgcache.cpp
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -O2-DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/qt-3.3.2/qt-3.3.6/mkspecs/linux-arm-g++ -I. -I../../include -I../tools -I. -o ./qtextcodec.o ../codecs/qtextcodec.cpp
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -O2-DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/qt-3.3.2/qt-3.3.6/mkspecs/linux-arm-g++ -I. -I../../include -I../tools -I. -o ./qutfcodec.o ../codecs/qutfcod ..
#1 [hunhunzi 04-07 13:16]
后来发现,./configure -platform linux-arm-g++ -qconfig qpe -depths 8,46,24,32
中的-qconfig qpe是找不到qconfig-pqe.h文件的,
谁以arm为目标安装过3.3.X版本的QT请指导一下
#2 [linuzer 04-08 10:25]
我觉得你应该这样
./configure -xplatform qws/linux-arm-g++ -qconfig qpe
qconfig-qpe.h要从qtopia那里拷贝来的,好象在qtopia/src/qt还是qtopia/src/tools/qt我记得不大清楚了
#3 [hunhunzi 04-08 11:42]
.moc/release-shared-emb-arm/allmoc.cpp
这个文件在哪里啊,怎么找不到啊,我编译的时候就是缺少这个文件
#4 [hunhunzi 04-08 12:56]
哪位仁兄编译过的指点一下嘛。。。。。
困了我好久啊
#5 [pf2000 04-21 21:52]
兄弟我这两天也在学习QT,准备在xscale270上做开发,遇到和你类似的问题,我在单位把QTE在arm上的环境都搭建好了,但回到家里交叉编译就有问题(编译x86的qte没问题),后来找到原因是交叉编译器的问题,我虽然安装了交叉编译器,但是没有修改etc下的profile文件,在profile加入了pathmunge /usr/local/arm0linux/bin(我的交叉编译器路径)就ok了,分析原因是系统未能找到交叉编译器,你可以看看linux-arm-g++的目录下的环境设置,无非是一些环境变量的设置,我做了shell安装脚本,如果需要我可以给你一份
embed_pan@163.com