admin管理员组

文章数量:1531661

2023年12月12日发(作者:)

银河麒麟桌面操作系统V10FT2000CPU上源码编译

Qt5.6.1

前言

本文介绍银河麒麟桌面操作系统V10上基于源码静态编译Qt5.6.1。完成Qt静态便以后,创建一个helloworld程序使用qmake静态编译

它,并测试程序运行效果

一、下载源码

wget /new_archive/qt/5.6/5.6.1/single/

源码文件信息

File information

Filename:

Path: /new_archive/qt/5.6/5.6.1/single/

Size: 383M (401089378 bytes)

Last modified: Mon, 06 Jun 2016 09:44:00 GMT (Unix time: 1465206240)

: 2e5be28fcaaf95e179041a0eb95ccca69b17f50e39245e20974fad9469c10f2f

: 91c450505397cc9b0e73cf664e7cd72d1db9a9ef

: ed16ef2a30c674f91f8615678005d44c

: 297a97b4263edc101d0a9abbdfee65f5d4478827

二、编译Qt

检查md5

md5sum

得到结果

ed16ef2a30c674f91f8615678005d44c

解压、编译

tar -xf

cd qt-everywhere-opensource-src-5.6.1/

./configure -release -qt-xcb -confirm-license -opensource -prefix /opt/Qt5.6.1 -skip qt3d -skip qtimageformats

构建、安装make -j4sudo make install验证yeqiang@yeqiang-KVM-Virtual-Machine:~/qt-everywhere-opensource-src-5.6.1$ /opt/Qt5.6.1/bin/qmake --versionQMake version 3.0Using Qt version 5.6.1 in /opt/Qt5.6.1/lib总结qt3d及qtimageformats由于兼容性问题,编译不过,暂时排除。

本文标签: 编译源码桌面操作系统麒麟静态