Qt 5.15编译
基于Ubuntu 20.04.4 LTS(注意选择LTS版本)
编译过程参考官方文档:Qt for Linux/X11 - Building from Source | Qt 5.15
1、源码下载:https://download.qt.io/official_releases/qt/5.15/5.15.5/single/qt-everywhere-opensource-src-5.15.5.tar.xz
2、安装依赖包
sudo apt-get install libxcb-xfixes0-dev libxcb-util-dev
3、解压,执行configure
cd /tmp/qt-everywhere-opensource-src-%VERSION%
sudo chown david:david -R *
./configure
4、编译
make -j4
5、安装
make install