hsy75的个人空间 https://blog.eetop.cn/vivilife [收藏] [复制] [分享] [RSS]

空间首页 动态 记录 日志 相册 主题 分享 留言板 个人资料

日志

[o]QT的目标板ARM嵌入式编译问题 001

已有 2335 次阅读| 2012-9-10 09:59 |个人分类:linux

1 QT  的Makefile: 在QT tar包的根目录里面:

【Targetboard-prjfiles]\qt-everywhere-opensource-src-4.7.2\Makefile

#############################################################################
# Makefile for building: projects
# Generated by qmake (2.01a) (Qt 4.7.2) on: Sun Sep 9 12:53:33 2012
# Project:  projects.pro
# Template: subdirs
# Command:【projectfolder]/bin/qmake -spec mkspecs/qws/linux-arm-g++ -o Makefile projects.pro
#############################################################################
里面定义了使用 mkspecs ,并且在mkspecs/qws/linux-arm-g++

 

2 QT的编译平台选择:(QT版本 4.7.2)

【Targetboard-prjfiles]\qt-everywhere-opensource-src-4.7.2\mkspecs\qws\

中列出了QT的各种编译平台选择,正如上面提到的路径:

 ARM 系统 qmake.conf 的路径

\qt-everywhere-opensource-src-4.7.2\mkspecs\qws\linux-arm-gnueabi-g++

 

3 选好平台后,设定相应的qmake.conf

\qt-everywhere-opensource-src-4.7.2\mkspecs\qws\linux-arm-gnueabi-g++\qmake.conf

#
# qmake configuration for building with arm-linux-g++
#

 

4 你可能需要在qt 的包文档外,为移植QT到自己的嵌入式系统,写一个配置文件,这个根据你的系统决定

5 QT 经常和directfb, 等一起使用,这样就需要将这些应用和qt的应用结合起来配置:

directfb 你需要配置他根目录的configure文件

 

 


各位IT熊,此帖原创

 


点赞

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 关注TA
  • 加好友
  • 联系TA
  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 0

    关注
  • 2

    粉丝
  • 1

    好友
  • 2

    获赞
  • 14

    评论
  • 3241

    访问数
关闭

站长推荐 上一条 /2 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-4-24 03:29 , Processed in 0.013930 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部