交叉编译Qt5.5.1 with egl (2)

Step1

git clone https://github.com/DuinoDu/crosscompile_qt5

Put qt-everywhere-opensource-src-5.5.1.tar.gz in the same foler with crosscompile_qt5, just like this:

– .
– ..
– crosscompile_qt5
– qt-everywhere-opensource-src-5.5.1.tar.gz

Step2

Revise something.
1. Edit crosscompile_qt5/linux-arm-hisiv400-g++/qmake.conf. Change QMAKE_CC like path and OPENGL_ES2 path to your own.
2. Edit crosscompile_qt5/build-5.5.1.sh. Change -prefix value and -xplatform value. -xplatform value should be the same with crosscompile_qt5/linux-arm-hisiv400-g++.

Step3

cd crosscompile_qt5
chmod +x auto.sh
./auto.sh

Step4

Make sure no error occurs.

make
sudo make install

More reading:
1. 安装交叉编译环境
2. NFS实现linux系统间文件共享
3. Qt 5.5 enhancements for Linux graphics and input stacks
4. 交叉编译Qt5.5.1 with egl (1)
5. 记一次debug

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值