首页| 论坛| 消息

标题:设好环境变量后运行编译例子仍出错?cannot find -lqpe
作者:looneyxp
日期:2006-04-13 21:48
内容:

按照qtopia2.20的手册,建立了qtopia环境,(./configure;make;make isntall),默认设置,然后进入qtopia根目录,source setQpeenv,建立环境变量,具体有TMAKEPATH,LD_LIBRARY_PATH,QTDIR,运行application的例子程序
qmake -spec /mywork/qtopia-free-2.2.0/qtopia/mkspecs/qws/linux-generic-g++ application.pro
make
提示/usr/bin/ld: cannot find -lqpe
collect2: ld returned 1 exit status
但是我的LD_LIBRARY_PATH为/mywork/qtopia-free-2.2.0/qtopia/lib:/mywork/qtopia-free-2.2.0/qt2/lib:/mywork/qtopia-free-2.2.0/dqt/lib
在这些目录里可以看到如libqt.so和libqt.so.2等等,但是没有-lqpe,我删掉Makefile中-lqpe后居然提示cannot find -lqte,为什么!!


#1 [angusliu 04-14 10:07]
你还没有编译qtopia吧,qpe就是编译完qtopia生成的库文件
#2 [looneyxp 04-14 13:09]
按照qtopia2.20的手册说明,它已经包含的tmake ,qt2/embedded,qt3/embedded,我已经configure,make,make install了,花了一个小时阿
怎么还叫做没有编译完qtopia
#3 [looneyxp 04-14 14:41]
the technology support of qtopia is so badly !
I mailed to qtopia-interest mailing list ,it did'nt respond yet
#4 [linuzer 04-14 15:42]
你看看你的qpe/lib目录下有没有libqpe,如果编译正常结束的话,会生成libqpe库的哦
#5 [windytwang 04-14 20:54]
qt2/embedded,qt3/embedded,说明你已装好了qte,但是还要装qtopia,两者不同的.后者是基于前者来的.

<< 1 2 3 >> (1/3)

回复 发表
主题 版块