step 1:
export PATH=path/to/cross/mips-4.3/bin:$PATH
step 2:
cd qt-everywhere-source-4.6.2
./configure -embedded mips -xplatform qws/linux-mips-g++ -little-endian
Step 3:
cd qt-everywhere-source-4.6.2/mkspecs/qws/linux-mips-g++/
vim qmake.conf
如果是mips-4.3/linux-mips-gnu-g++交叉编译工具
linux-mips-g++改成 linux-mips-gnu-g++
step 4
make
make
这个过程时间比较长,需要较长时间。
step 5
运行 gmake install
默认安装至 /usr/local/Trolltech/Qt-4.5.3
大约 5 - 10 分钟。正常结束,安装完毕。
运行 /usr/local/Trolltech/Qt-4.5.3/bin/designer ,看见 qt 启动,也就是说 qt 安装好了。

本文档详细介绍了在MIPS架构上建立Qt编译环境的步骤,包括修改qmake.conf文件以适配交叉编译工具,进行长时间的make过程,以及后续的gmake install步骤和环境变量配置。通过这些步骤,最终成功运行Qt designer验证安装完成。

1169

被折叠的 条评论
为什么被折叠?



