day11.编译QtE

第11节:编译QtE


1)配置环境变量
export PATH=$PATH:/usr/local/arm/4.3.2/libexec/gcc


2)上传QtE的源码压缩包“qt-everywhere-opensource-src-4.7.1.tar.gz”到“/root/yizhi”目录下


3)将上传的QtE源码包进行解压
tar zxvf  qt-everywhere-opensource-src-4.7.1_20141224.tar.gz


4)进入qt-everywhere-opensource-src-4.7.1目录
root@ubuntu:~/yizhi# cd qt-everywhere-opensource-src-4.7.1


5)执行编译脚本命令 “./build-all”


6)编译完成后,会在“/opt”文件夹中出现qt-4.7.1文件夹


7)拷贝qt-4.7.1文件夹到/home/topeet/Linux+QT/root/opt目录下:
root@ubuntu:/opt# cp -rp qt-4.7.1/ /home/topeet/Linux+QT/root/opt/


8)到相应的目录进行文件系统的打包:
root@ubuntu:/opt# cd /home/topeet/Linux+QT/
root@ubuntu:/home/topeet/Linux+QT# make_ext4fs -s -l 314572800 -a root -L linux system.img root
Creating filesystem with parameters:
    Size: 314572800
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 6400
    Inode size: 256
    Journal blocks: 1200
    Label: linux
    Blocks: 76800
    Block groups: 3
    Reserved block group size: 23
Created filesystem with 10618/19200 inodes and 51602/76800 blocks


9)在Linux+QT目录下会生成system.img文件
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

随行之旅

python国产化自动化

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值