您的位置:首页 > 编程语言 > Qt开发

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

2016-07-20 19:44 489 查看

Step1

git clone https://github.com/DuinoDu/crosscompile_qt5[/code] 
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: