qt5.6.3 源码编译增加webkit, 通过修改.gitmodules增加这个模块

动态 未结 0 64
小小草
小小草 LV1 2023年9月23日 23:40 发表
以下是在Linux系统下,使用git命令修改.gitmodules文件以增加webkit模块的步骤: 1. 克隆Qt 5.6.3源码 ``` git clone https://code.qt.io/qt/qt5.git -b 5.6.3 ``` 2. 进入源码目录 ``` cd qt5 ``` 3. 修改.gitmodules文件 ``` nano .gitmodules ``` 在文件末尾添加以下内容: ``` [submodule "qtwebkit"] path = qtwebkit url = https://github.com/qtwebkit/qtwebkit.git branch = qtwebkit-5.6 ``` 保存并退出。 4. 更新子模块 ``` git submodule update --init qtwebkit ``` 5. 配置Qt编译选项 ``` ./configure -prefix /usr/local/Qt-5.6.3 -opensource -confirm-license -nomake examples -nomake tests -skip qtwebengine -skip qtscript -skip qtdocgallery -skip qtlocation -skip qtpurchasing -skip qtserialbus -skip qtserialport -skip qtwayland -skip qtwebchannel -skip qtwebsockets -skip qtxmlpatterns -no-warnings-are-errors -no-compile-examples -no-sql-mysql -no-sql-psql -no-sql-odbc -no-sql-tds -no-sql-sqlite -no-sql-sqlite2 -no-feature-geoservices_mapboxgl -no-feature-geoservices_mapbox -no-feature-geoservices_osm -no-feature-geoservices_arcgisruntime -no-feature-geoservices_here -no-feature-geoservices_mapboxgl -no-feature-geoservices_mapbox -no-feature-geoservices_osm -no-feature-geoservices_arcgisruntime -no-feature-geoservices_here -no-feature-geoservices_esri -no-feature-geoservices_googlemaps -no-feature-geoservices_nokia -no-feature-geoservices_tomtom -no-feature-geoservices_wms -no-feature-geoservices_wmts -no-feature-geoservices_plugin -no-feature-qml_debug -no-feature-xml -no-feature-xmlstream -no
收藏(0)  分享
相关标签: 智能问答
问题没解决?让AI助手帮你作答 AI助手
0个回复
  • 消灭零回复