2020-08-03|2020-08-03 手动编译Qt库(msvc2019版本)
- Qt Windows exe应用程序部署指南:https://doc.qt.io/qt-5/windows-deployment.html
qtwebengine不支持static
configure.bat -static -release -opensource -confirm-license -platform win32-msvc -mp -prefix "C:\Qt\5.15.0_MSVC2019_Static" -qt-sqlite -qt-zlib -qt-libpng -qt-libjpeg -opengl desktop -qt-freetype -no-qml-debug -no-angle -nomake tests -nomake examples -skip qtwebengine
【2020-08-03|2020-08-03 手动编译Qt库(msvc2019版本)】Windows下为了编译QtWebEngine组件,必须安装好Windows版本的perl和python2.7.18,QtWebEngine的编译系统并不支持python3.x
- 使用
-static
生成静态Qt库
configure.bat -static -release -opensource -confirm-license -platform win32-msvc -mp -prefix "C:\Qt\5.15.0_MSVC2019_Static" -qt-sqlite -qt-zlib -qt-libpng -qt-libjpeg -opengl desktop -qt-freetype -no-qml-debug -no-angle -nomake tests -nomake examples
configure.bat -confirm-license -opensource -platform win32-msvc -mp -debug-and-release -static -prefix "D:\Qt\5.15.0_MSVC_Static" -qt-sqlite -qt-zlib -qt-libpng -qt-libjpeg -opengl desktop -qt-freetype -no-qml-debug -no-angle -nomake tests -nomake examples
附录 参考:
- https://doc.qt.io/qt-5/windows-building.html
- https://doc.qt.io/qt-5/qtwebengine-platform-notes.html#building-qt-webengine-from-source
- https://stackoverflow.com/questions/50510457/how-to-compile-qt-webengine-5-11-on-windows-with-proprietary-codecs/50510458#50510458
- 参考CSDN: https://blog.csdn.net/xiaohai7521s/article/details/90770200
- 参考CSDN: https://blog.csdn.net/startl/article/details/106600031
- 参考腾讯博客1:https://cloud.tencent.com/developer/article/1343630
文章图片
推荐阅读
- 《Unix网络编程》第一卷第三版|《Unix网络编程》第一卷第三版 源码编译
- maven使用tomcat7插件编译jsp出错
- 嵌入式(编译内核、根文件系统等)
- Centos6源码编译安装2.4版本http服务步骤
- 一键编译部署Mysql
- 防止sql注入
- 编程语言主要类型
- 解释器与编译器都是什么()
- 【Flink】Flink手动触发savepoint失败问题
- 手动实现bind方法