oneline
230

qt5源码编译

参考

https://github.com/qt/qt5

https://doc.qt.io/qt-5/index.html

https://doc.qt.io/qt-5/build-sources.html

https://doc.qt.io/qt-5/linux-building.html

https://doc.qt.io/qt-5/configure-options.html

遇到错误

  1. No package ‘xkbcommon’ found 解决:
    sudo apt-get install libxkbcommon-x11-dev
    
  2. g++: internal compiler error: Killed (program cc1plus) 解决
    主要问题是内存不足, 我们可以增加swap的虚拟内存来解决
    
    参考: https://blog.csdn.net/feeryman_lee/article/details/104380271
qt qt源码 qt5 C++
发布于: 2021年1月7日