回复: QT5.15.2 编译qwebengine 支持mp4 求助![已解决]
#31 回 liaohanghua 的帖子 [lixinwei 06-11 19:14]
liaohanghua:请问下大家,这个警告是什么问题。
Running configuration tests...
Checking for architecture supported... yes
Checking for bison... yes
Checking for submodule initialized... yes
....... (2022-06-11 18:30)
见第23楼,编译32位版本要用“x64_x86 Cross Tools Command Prompt for VS 2019”
请善用浏览器自带的网页查找功能
#32 回 lixinwei 的帖子 [liaohanghua 06-11 19:37]
lixinwei:见第23楼,编译32位版本要用“x64_x86 Cross Tools Command Prompt for VS 2019”
请善用浏览器自带的网页查找功能
....... (2022-06-11 19:14)
谢谢
问下"D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe"
这个步骤的时候 提示
"QtPdf will not be built. QtPdf requires Visual Studio 2017 or higher."
是为什么
#33 回 liaohanghua 的帖子 [liaohanghua 06-11 19:39]
liaohanghua:谢谢
问下"D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe"
这个步骤的时候 提示
"QtPdf will not be built. QtPdf requires Visual Studio 2017 or higher."
....... (2022-06-11 19:37)
用了论坛的方法 这一步可以过了
D:\Qt\Qt5.15.2\5.15.2\Src\qtwebengine>D:\Qt\Qt5.15.2\5.15.2\msvc2019\bin\qmake.exe -- -webengine-proprietary-codecs
Running configuration tests...
Checking for architecture supported... yes
Checking for bison... yes
Checking for submodule initialized... yes
Checking for build path without whitespace... yes
Checking for platform supported...
Checking for gperf... yes
Checking for flex... yes
Checking for python2... C:/Python27/python.exe
Checking for 64bit compiler... yes
Checking for winversion... yes
Checking for jumbo build merge limit... 0
Checking for d-bus... no
Checking for fontconfig... no
Checking for libdrm... no
Checking for system ninja... 此时不应有 \Microsoft。
no
Checking for xcomposite... no
Checking for xcursor... no
Checking for xi... no
Checking for xtst... no
Checking for embedded build... no
Checking for node.js... no
Done running configuration tests.
Configure summary:
Qt WebEngine Build Tools:
Use System Ninja ....................... no
Use System Gn .......................... no
Jumbo Build Merge Limit ................ no
Developer build ........................ no
Sanitizer .............................. no
Qt WebEngineCore:
Embedded build ......................... no
Full debug information ................. no
Pepper Plugins ......................... yes
Printing and PDF ................ ..
#34 Re:QT5.15.2编译qwebengine支持mp4 求助![已解决] [liaohanghua 06-11 20:31]
求教一下
有没有碰到这个步骤
"D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe"
提示
Microsoft (R) 程序维护实用工具 14.29.30141.0 版
版权所有 (C) Microsoft Corporation。保留所有权利。
cd src\ && ( if not exist Makefile D:\Qt\Qt5.15.2\5.15.2\msvc2019\bin\qmake.exe -o Makefile D:\Qt\Qt5.15.2\5.15.2\Src\qtwebengine\src\src.pro ) && "D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe" -f Makefile
Microsoft (R) 程序维护实用工具 14.29.30141.0 版
版权所有 (C) Microsoft Corporation。保留所有权利。
cd core\ && ( if not exist Makefile D:\Qt\Qt5.8.0\5.8\msvc2015\bin\qmake.exe -o Makefile D:\Qt\Qt5.15.2\5.15.2\Src\qtwebengine\src\core\core.pro ) && "D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe" -f Makefile
Microsoft (R) 程序维护实用工具 14.29.30141.0 版
版权所有 (C) Microsoft Corporation。保留所有权利。
"QtWebEngineCore module will not be built. 64-bit cross-building or native toolchain required to build QtWebEngine could not be found."
cd pdf\ && ( if not exist Makefile D:\Qt\Qt5.8.0\5.8\msvc2015\bin\qmake.exe -o Makefile D:\Qt\Qt5.15.2\5.15.2\Src\qtwebengine\src\pdf\pdf.pro ) && "D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe" -f Makefile
Microsoft (R) 程序维护实用工具 14.29.30141.0 版
版权所有 (C) Microsoft Corporation。保留所有权利。
"QtPdf will not be built. QtPdf requires Visual Studio 2017 or higher."
这个错误
#35 回 liaohanghua 的帖子 [lixinwei 06-11 21:34]
liaohanghua:求教一下
有没有碰到这个步骤
"D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe"
提示
Microsoft (R) 程序维护实用工具 14.29.30141.0 版
....... (2022-06-11 20:31)
"D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe"
说明你用的依然是 “x86 Native Tools Command Prompt for VS 2019”
编译32位webengine,必须使用开始菜单中的“x64_x86 Cross Tools Command Prompt for VS 2019”
另外,你还可以安装node.js,用来消除warning