ubuntu18.04 qt-everywhere编译需要的依赖库
时间: 2023-05-14 07:02:33 浏览: 326
Ubuntu18.04系统中如果要编译qt-everywhere,需要安装相关的编译环境和依赖库,具体如下:
1. 安装编译环境
sudo apt-get install build-essential
sudo apt-get install libssl-dev
2. 安装依赖库
sudo apt-get install libfontconfig1-dev
sudo apt-get install libfreetype6-dev
sudo apt-get install libx11-dev
sudo apt-get install libxext-dev
sudo apt-get install libxfixes-dev
sudo apt-get install libxi-dev
sudo apt-get install libxrender-dev
sudo apt-get install libxcb1-dev
sudo apt-get install libxcb-glx0-dev
sudo apt-get install libxcb-keysyms1-dev
sudo apt-get install libxcb-image0-dev
sudo apt-get install libxcb-shm0-dev
sudo apt-get install libxcb-icccm4-dev
sudo apt-get install libxcb-sync0-dev
sudo apt-get install libxcb-xfixes0-dev
sudo apt-get install libxcb-shape0-dev
sudo apt-get install libxcb-randr0-dev
sudo apt-get install libxcb-render-util0-dev
sudo apt-get install libxcb-xinerama0-dev
sudo apt-get install libxkbcommon-dev
sudo apt-get install libxkbcommon-x11-dev
通过以上步骤安装依赖库和编译环境,就可以在Ubuntu18.04系统中编译qt-everywhere了。
阅读全文