在Ubuntu14.4(32位)中配置I.MX6的QT编译环境

1,开发工具下载

    一,下载VMware Workstation虚拟机 

          地址:http://1.xp510.com:801/xp2011/VMware10.7z

   二,下载Ubuntu 14.04.5 LTS 32位Ubuntu(虚拟机最好安装64位的,因为qtCreator高版本的基本上都只有64位的包)

         地址:http://mirrors.163.com/ubuntu-releases/14.04.5/

   三,Qtcreator (sudo apt-get install qtcreator (Qt 5.2.1))

        qt-opensource-linux-x64-5.5.0-2.run 链接: https://pan.baidu.com/s/1bo7IDeZ 密码: 7p32

2,编译链文件下载

    一,sysroots_20160107.tar.bz2

        下载路径:链接: https://pan.baidu.com/s/1eRFKdTS 密码: 355v

    二,MentorGraphics.tar.bz2

        下载路径:链接: https://pan.baidu.com/s/1c14YO3u 密码: 4xhy

    三,atp-eglibc-i686-meta-toolchain-cortexa9hf-vfp-neon-toolchain-2014.05+snapshot

       下载地址:链接: https://pan.baidu.com/s/1i4EYaBb 密码: 5yw5

3,安装VMware Workstation虚拟机 、Ubuntu 和Qtcreator 

4,解压编译文件到(/home下)

    tar -jxvf sysroots_20160107.tar.bz2 

    tar -jxvf MentorGraphics.tar.bz2

   ./atp-eglibc-i686-meta-toolchain-cortexa9hf-vfp-neon-toolchain-2014.05+snapshot (opt/atp下)

5,改写构建套件

6、改写Qt Versions

7、改写编译器

compiler path : /home/maxiongying/MentorGraphics/Sourcery_CodeBench_for_ARM_Embedded/bin/arm-none-eabi-g++

8,改写Debbugers

path:/home/maxiongying/MentorGraphics/Sourcery_CodeBench_for_ARM_Embedded/bin/arm-none-eabi-gdb

9、打开qt项目,点击项目,添加构建套件

八、构建项目

原文地址:https://www.cnblogs.com/senior-engineer/p/6661616.html