QT-Linux交叉编译

339 阅读1分钟

下载地址:download.qt.io

找到下载链接资源页:download.qt.io/archive/qt/

image.png

编译配置

看readme文件,按步骤操作,命令直接复制粘贴,没有修改

 Linux, Mac:
   -----------

     cd <path>/<source_package>
     ./configure -prefix $PWD/qtbase <license> -nomake tests
     make -j 4

Selecting Qt Edition

选‘o’,暂时不知道未什么

Selecting Qt Edition.

Type ‘c’ if you want to use the Commercial Edition.\
Type ‘o’ if you want to use the Open Source Edition.

Do you accept the terms of either license?

填‘y’

编译

make -j 4 等待很久