群主,我在编译32位版本的时候,在执行qmake命令后会提示错误:Required 64-bit cross-building or native toolchain could not be found.。但我的CMD是"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"环境,怎么会报提示64位的错误
89614215
2021-01-31 11:25
kelly123: 群主,我在编译32位版本的时候,在执行qmake命令后会提示错误:Required 64-bit cross-building or native toolchain could not be found.。但我的CMD是"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"环境,怎么会报提示64位的错误
请问下大家,这个警告是什么问题。 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... no Checking for jumbo build merge limit... 0 Checking for winversion... yes 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 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 PDF: Support V8 ............................. no Support XFA ............................ no Support XFA-BMP ........................ no Support XFA-GIF ........................ no Support XFA-PNG ........................ no Support XFA-TIFF ....................... no Qt PDF Widgets: Support Qt PDF Widgets ................. yes
Note: The following modules are not being compiled in this configuration: webenginecore webengine webenginewidgets
WARNING: 64-bit cross-building or native toolchain required to build QtWebEngine could not be found.
WARNING: QtWebEngine will not be built.
Qt is now configured for building. Just run 'nmake'. Once everything is built, you must run 'nmake install'. Qt will be installed into 'D:\Qt\Qt5.15.2\5.15.2\msvc2019'.
Prior to reconfiguration, make sure you remove any leftovers from the previous build.
lixinwei
2022-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” 请善用浏览器自带的网页查找功能
liaohanghua
2022-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." 是为什么
liaohanghua
2022-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)
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 ....................... yes Proprietary Codecs ..................... yes Spellchecker ........................... yes Native Spellchecker .................... no WebRTC ................................. yes PipeWire over GIO ...................... no Geolocation ............................ yes WebChannel support ..................... yes Kerberos Authentication ................ yes Extensions ............................. yes Node.js ................................ no Qt WebEngineQml: Support Qt WebEngine Qml ............... yes UI Delegates ........................... yes Test Support ........................... no Qt WebEngineWidgets: Support Qt WebEngine Widgets ........... yes Qt PDF: Support V8 ............................. no Support XFA ............................ no Support XFA-BMP ........................ no Support XFA-GIF ........................ no Support XFA-PNG ........................ no Support XFA-TIFF ....................... no Qt PDF Widgets: Support Qt PDF Widgets ................. yes
WARNING: Building without node.js will disable some features of QtWebEngine DevTools.
Qt is now configured for building. Just run 'nmake'. Once everything is built, you must run 'nmake install'. Qt will be installed into 'D:\Qt\Qt5.15.2\5.15.2\msvc2019'.
Prior to reconfiguration, make sure you remove any leftovers from the previous build.
liaohanghua
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" 提示 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." 这个错误