| |
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熊,此帖原创