qte4.5.2+qt creator-2009.05交叉编译环境搭建法2
来源:互联网 发布:昆明网络推广公司 编辑:程序博客网 时间:2024/05/17 03:48
http://blog.csdn.net/lhembed/archive/2010/05/20/5612572.aspx
之前安装这个软件最后不是很成功,所以这次通过uncle Google又找到了另一种方法进行尝试。3x uncle Google,通过这次亲身体会到了uncle比
baidu强大的地方来。
安装环境:VMware ACE + CentOS 5.4
交叉编译器:arm-linux-3.4.1
触摸屏支持:tslib1.4
嵌入式应用程序开发环境:qte4.5.2 + qt creator-2009.05
需要的软件:qt-embedded-linux-opensource-src-4.5.2.tar.gz
软件下载地址:http://get.qtsoftware.com/qt/source/qt-embedded-linux-opensource-src-4.5.2.tar.gz
1.安装qt-embedded-linux-opensource-src-4.5.2-arm
在用户目录下建立一个src目录,用于存放编译源文件qt-embedded-linux-opensource-src-4.5.2.tar.bz2。将其解压得到qt-embedded-linux-opensource-src-4.5.2,重命令为qt-embedded-linux-opensource-src-4.5.2-arm。
#cd qt-embedded-linux-opensource-src-4.5.2-arm
#./configure -prefix /usr/local/Trolltech/QtEmbedded-4.5.2-arm -embedded arm
在这里编译器报错:
The target system byte order could not be detected!Turn on verbose messaging (-v) to see the final report.You can use the -little-endian or -big-endian switch to
./configure to continue.
这时我选择了小端编译的方式。 -little-endian编译通过。
#./configure -little-endian
#make
#make install
上面的时间很长,因为选择全编译的原因,大概需要2个多小时。
好了,qt-embedded-arm被安装在/usr/local/Trolltech/QtEmbedded-4.5.2-arm下。
2.qte4.5.2+qt creator-2009.05的qt交叉编译环境搭建
上面我们已经完成了qt-embedded-arm的安装,现在我们就来做一下交叉编译环境的搭建,这一步也是上次我没有成功的地方。下图是我上次没有编译对的地方,打开tools/options可以看到Debugging Helper的后面是一个小红差号,这个当然不对。
重新进入这个界面,选择刚刚装好的qt-embedded-arm中的qmake,他的目录是/usr/local/Trolltech/QtEmbedded-4.5.2-arm/bin/qmake,点击Rebuild,知道看到绿色小对号为止,否则都是错误的,正确的画面如下图所示:
好了,困扰整整两天的问题终于有了结果,该去面对下一个问题了。感谢lxk师弟这两天的帮助。该休息了,最近眼睛真的受不了。
- qte4.5.2+qt creator-2009.05交叉编译环境搭建法2
- qte4.5.2+qt creator-2009.05交叉编译环境搭建法2
- 设置QT Creator交叉编译环境
- Qt交叉编译环境搭建
- QT 交叉编译环境搭建
- 在Ubuntu中搭建Qt Creator对BBB的交叉编译环境
- 在Ubuntu中搭建Qt Creator对BBB的交叉编译环境
- 交叉编译qte4.4.3
- QT creator交叉编译配置
- QT Creator 环境搭建
- 转:qte4.7.1-arm平台交叉编译环境…
- 搭建qt的交叉编译环境
- Qt arm嵌入式交叉编译环境搭建
- Qt静态编译以及Qt Creator环境搭建
- QT交叉编译环境
- QT 交叉编译环境
- Ubuntu14.04 交叉编译Qt-creator
- Ubuntu 搭建开发环境(QT+交叉编译)【嵌入式环境】
- 如何培养学生感恩的心?
- 修改情景面板图标和文字
- 乐铺博客验证
- ListView选中selectedItem上下移动 C#
- 考虑主外键、索引情况下,批量修改字段长度
- qte4.5.2+qt creator-2009.05交叉编译环境搭建法2
- u-boot关于u-boot的理解
- Visual Studio2010 简体中文含MSDN版本下载地址
- busybox支持命令自动补齐功能
- 文件系统挂载和格式化
- 函数名的“动态”生成
- 归并排序
- 宝宝去上幼儿园
- linux串口资料