当前位置:   article > 正文

Ubuntu20自定义安装Qt5.12.9_ubuntu配置qt5.12.9

ubuntu配置qt5.12.9
  1. 下载下载
    1. //lib
    2. sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
    3. sudo apt-get install libxcb-xinerama0
    4. sudo apt-get install libx11-dev libxext-dev libxtst-dev
    5. //opengl
    6. sudo apt-get install libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0 libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm4 libxcb-icccm4-dev libxcb-xfixes0-dev libxrender-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0 libxcb-render-util0-dev libxcb-glx0-dev libxcb-xinerama0-dev
  2. 解压
    1. zx -d qt-everywhere-src-5.12.9.tar.xz
    2. tar -xvf ​qt-everywhere-src-5.12.9.tar

     

  3. 进入目录
    1. ./configure -prefix /home/hao/Qt5.12.9/Qt-5.12.9 -opensource
    2. make
    3. make install

     

 

 

本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/Li_阴宅/article/detail/922946
推荐阅读
相关标签
  

闽ICP备14008679号