首页 > 解决方案 > 在 Linux 下从源代码编译 Qt5Quick 和 Qt5Qml

问题描述

我正在尝试从源代码编译 Qt。我正在关注本手册https://wiki.qt.io/Building_Qt_5_from_Git

git clone https://code.qt.io/qt/qt5.git
cd qt5
git checkout 5.15.0
perl init-repository --module-subset=all
./configure -opensource -confirm-license -release -nomake examples -nomake tests -prefix /home/user/built_qt/ -opengl es2 -v -skip qtwebengine -skip qtdoc -platform linux-g++-64
make -j4
make install -j4

所有依赖项似乎都得到了满足,并且在编译过程中没有发生错误,但是安装文件夹中不存在模块 Qt5Quick 和 Qt5Qml(以及其他一些模块)。我检查了标准输出和标准错误,但没有错误。

那么,如何编译这些模块呢?或者编译它们有什么限制吗?

提前致谢!

标签: qt

解决方案


推荐阅读