免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2544 | 回复: 2
打印 上一主题 下一主题

[图形界面] 移植qtopia的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-08-20 17:37 |只看该作者 |倒序浏览
今天学习移植qtopia,使用的qtopia2.2.0,交叉编译器为arm-linux-gcc/g++3.4.5-glibc-2.3.6版本,pc用的是4.4.4,开始对程序做了一些必要得修改 ,更正了编译错误,然后在连接的时候出问题了。

   错误如下:
/usr/bin/ld: cannot find -lqt-mt
collect2: ld 返回 1
make[6]: *** [../../../bin/qdawggen] 错误 1
make[5]: *** [all] 错误 2
make[4]: *** [sub-tools-qdawggen] 错误 2
make[3]: *** [sub-src-components_pro] 错误 2
make[2]: *** [all] 错误 2
make[1]: *** [all] 错误 2
    然后在重定向文件中查看详细信息,输出如下:
g++ -c -pipe -Wall -W -O2 -D_REENTRANT  -DQT_NO_QWS_VFB -DQTOPIA_DATA_LINKING -DQTOPIA_TARGET=\"qdawggen\" -DQTOPIA_TRTARGET=\"qdawggen\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/mkspecs/linux-g++ -I. -I/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/dqt/include -I../../../include -I/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/dqt/include -I.ui/release-shared/ -I.moc/release-shared/ -o .obj/release-shared/qmemoryfile_unix.o ../../libraries/qtopia/qmemoryfile_unix.cpp
test -d ../../../bin/ || mkdir -p ../../../bin/
g++  -o ../../../bin/qdawggen .obj/release-shared/main.o .obj/release-shared/qdawg.o .obj/release-shared/qmemoryfile.o .obj/release-shared/global.o .obj/release-shared/qmemoryfile_unix.o   -L/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/dqt/lib -L/usr/X11R6/lib -L/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/lib -L/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qt2/lib -lqt-mt -lXext -lX11 -lm -lpthread
make[6]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/src/tools/qdawggen'
make[5]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/src/tools/qdawggen'
make[4]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/src'
make[3]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/src'
make[2]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/src'
make[1]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia'
          朋友们有遇到这种情况的或者知道的,请帮忙分析分析。
  我用的 ./configure -qte '-embedded -no-xft -xplatform linux-arm-g++ -qconfig qpe -depths 16,32 -no-qvfb -system-jpeg -gif' -qpe '-xplatform linux-arm-g++ -edition pda -displaysize 320x240' -qt2 '-no-xft' -dqt '-no-xft'
配置。    谢谢大家啊,很急。
     在我的qtopia/dqt/lib下没有生成libqt-mt.so这个库。

论坛徽章:
0
2 [报告]
发表于 2010-08-20 18:37 |只看该作者
有知道的朋友请不吝指教,谢谢,我很疑惑,不知道是不是我的configure有问题,请大家帮忙看看啊。

论坛徽章:
0
3 [报告]
发表于 2010-08-20 21:54 |只看该作者
大哥些 帮帮忙啊  新手 刚学嵌入式的  自己在研究qtopia的文档 但是因为是英文的 看起来很吃力 谢谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP