• 9989阅读
  • 11回复

设好环境变量后运行编译例子仍出错?cannot find -lqpe [复制链接]

上一主题 下一主题
离线looneyxp
 

只看楼主 倒序阅读 楼主  发表于: 2006-04-13
按照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,为什么!!
[ 此贴被XChinux在2006-04-13 22:22重新编辑 ]
离线angusliu

只看该作者 1楼 发表于: 2006-04-14
你还没有编译qtopia吧,qpe就是编译完qtopia生成的库文件
离线looneyxp

只看该作者 2楼 发表于: 2006-04-14
按照qtopia2.20的手册说明,它已经包含的tmake ,qt2/embedded,qt3/embedded,我已经configure,make,make install了,花了一个小时阿
怎么还叫做没有编译完qtopia
离线looneyxp

只看该作者 3楼 发表于: 2006-04-14
the technology support of qtopia is so badly !
I mailed to qtopia-interest mailing list ,it did'nt respond yet
离线linuzer

只看该作者 4楼 发表于: 2006-04-14
你看看你的qpe/lib目录下有没有libqpe,如果编译正常结束的话,会生成libqpe库的哦
离线windytwang

只看该作者 5楼 发表于: 2006-04-14
qt2/embedded,qt3/embedded,说明你已装好了qte,但是还要装qtopia,两者不同的.后者是基于前者来的.
离线looneyxp

只看该作者 6楼 发表于: 2006-04-15
qtopia2.20和以前版本不一样了,已经包含了tmake,qtopia,qt/embedded,./configure之后的make就是编译qt2/embedded qt3/embedded,也即dqt和qt2,然后make install安装这是手册里面说的,然后make install
但是很奇怪的是今天重新安装make居然也提示找不到libqte,晕死
离线windytwang

只看该作者 7楼 发表于: 2006-04-16
qtopia2.20和以前版本不一样了,已经包含了tmake,qtopia,qt/embedded....
那怎么指定它的qte版本呢?
如果想设for arm版的支持qt3.3.4的qtopia ./configure该怎么设置呢?
离线looneyxp

只看该作者 8楼 发表于: 2006-04-16
好像现在qtopia2.2.0不用在先装好qt/embedded
离线linuzer

只看该作者 9楼 发表于: 2006-04-19
qtopia如果是集成了qte的话
在编译的时候会先编译qt2-x11,qt3-x11,qte2,最后编译qtopia,生成的libqte会在qtopia/lib下
在编译的时候可以通过./configure --help来查看详细的配置
configure文件提供了几种默认的配置比如arm-no-keypad,arm-pda等等,比如你可以这样配置
./configure -qte arm-no-keypad -qpe arm-pda
当然你也可以修改这些默认的配置以满足自己的需求
离线shiroki

只看该作者 10楼 发表于: 2006-04-24
looneyxp 兄弟,
qtopia-interest maillist可不是support channel阿, 怎么能指望什么问题都有人很乐意自发地回答呢
--
shiro is White
ki is tree
http://www.cuteqt.com
论坛 http://www.cuteqt.com/bbs
博客 http://www.cuteqt.com/blog
博客镜像: http://sites.cuteqt.com/cuteqt
Linux/Qt/嵌入式讨论群 http://qun.qq.com/air/5699823
离线braverywu
只看该作者 11楼 发表于: 2009-05-21
请教高手:例程tmake重新生成makefile后编译错误 cannot find -lqpe
我用的MINI2440开发板,在ARM平台编译环境下,原先开发板例程给的makefile可正确编译,而当tmake -o Makefile hello.pro生成makefile,重新make产生cannot find -lqpe 的错误,请教高手:
1  既然原先的makefile能正确编译,说明这个库还是不缺少了啊,为什么重新编译后会产生这个错误,应该怎样解决呢?
2  我的版本还是qtopia free 1.7,没有qmake工具,是不是这个工具会好用些?
快速回复
限100 字节
 
上一个 下一个