当前位置: 技术问答>linux和unix
Linux环境下QT交叉编译环境的移植问题请教帮忙
来源: 互联网 发布时间:2016-01-30
本文导语: 现在在做Linux环境下QT交叉编译环境的移植,已经做到 编译Qtopia,完成最后的界面编译,但是make后会出现如下的错误: [root@localhost src]# make make -C libraries/qtopia make[1]: Entering directory `/DM2410/QTE/qtopia/src/libraries/qtopia' /DM241...
现在在做Linux环境下QT交叉编译环境的移植,已经做到 编译Qtopia,完成最后的界面编译,但是make后会出现如下的错误:
[root@localhost src]# make
make -C libraries/qtopia
make[1]: Entering directory `/DM2410/QTE/qtopia/src/libraries/qtopia'
/DM2410/QTE/qt/bin/uic passwordbase_p.ui -o ./passwordbase_p.h
/DM2410/QTE/qt/bin/uic: error while loading shared libraries: libqutil.so.1: cannot open shared object file: No such file or directory
make[1]: *** [passwordbase_p.h] 错误 127
make[1]: Leaving directory `/DM2410/QTE/qtopia/src/libraries/qtopia'
make: *** [libraries/qtopia] 错误 2
基本看了下,发现/DM2410/QTE/qt/lib下没有生成libqutil.so.1,但一步步根据实验指导做下来是没生成的,想问问在QT-2.3.7编译成功后,会生成哪些库文件,已经有的是:libqte.so.2.3.7,libqte.so.2.3,libqte.so.2,libqte.so,和一个fonts的文件夹,
另外passwordbase_p.h是什么意思,什么时候生成的?
请高手多多指点,帮帮忙,谢谢!
[root@localhost src]# make
make -C libraries/qtopia
make[1]: Entering directory `/DM2410/QTE/qtopia/src/libraries/qtopia'
/DM2410/QTE/qt/bin/uic passwordbase_p.ui -o ./passwordbase_p.h
/DM2410/QTE/qt/bin/uic: error while loading shared libraries: libqutil.so.1: cannot open shared object file: No such file or directory
make[1]: *** [passwordbase_p.h] 错误 127
make[1]: Leaving directory `/DM2410/QTE/qtopia/src/libraries/qtopia'
make: *** [libraries/qtopia] 错误 2
基本看了下,发现/DM2410/QTE/qt/lib下没有生成libqutil.so.1,但一步步根据实验指导做下来是没生成的,想问问在QT-2.3.7编译成功后,会生成哪些库文件,已经有的是:libqte.so.2.3.7,libqte.so.2.3,libqte.so.2,libqte.so,和一个fonts的文件夹,
另外passwordbase_p.h是什么意思,什么时候生成的?
请高手多多指点,帮帮忙,谢谢!
|
我也碰到类似的问题了:
make[1]: Entering directory `/toxp/qpe-install/qpe-1.4.0/inputmethods/handwritin
g'
/toxp/qpe-install/host/bin/uic qimpenprefbase.ui -o ./qimpenprefbase.h
/toxp/qpe-install/host/bin/uic: error while loading shared libraries: libqutil.s
o.1: cannot open shared object file: No such file or directory
make[1]: *** [qimpenprefbase.h] Error 127
make[1]: Leaving directory `/toxp/qpe-install/qpe-1.4.0/inputmethods/handwriting
'
make: *** [inputmethods/handwriting] Error 2
make[1]: Entering directory `/toxp/qpe-install/qpe-1.4.0/inputmethods/handwritin
g'
/toxp/qpe-install/host/bin/uic qimpenprefbase.ui -o ./qimpenprefbase.h
/toxp/qpe-install/host/bin/uic: error while loading shared libraries: libqutil.s
o.1: cannot open shared object file: No such file or directory
make[1]: *** [qimpenprefbase.h] Error 127
make[1]: Leaving directory `/toxp/qpe-install/qpe-1.4.0/inputmethods/handwriting
'
make: *** [inputmethods/handwriting] Error 2