Description
[0/170] cmd.exe /C "cd /D C:\Users\zzzz\Downloads\qt6-build\qtwebengine\src\core && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" -C C:/Users/zzzz/Downloads/qt6-build/qtwebengine/src/core/Release/AMD64 QtWebEngineCore" ninja: Entering directory `C:/Users/zzzz/Downloads/qt6-build/qtwebengine/src/core/Release/AMD64' [1/19353] STAMP obj/ui/latency/mojom/mojom__parser.stamp [2/19353] STAMP obj/ui/gl/mojom/mojom__parser.stamp [3/19353] STAMP obj/tools/gritsettings/default_resource_ids.stamp [4/19353] STAMP obj/components/variations/variations_mojom_shared_cpp_sources.inputdeps.stamp [5/19353] STAMP obj/url/mojom/url_mojom_gurl__parser.stamp [6/19353] STAMP obj/components/cbor/cbor.inputdeps.stamp [7/19353] STAMP obj/chrome/common/extensions/api/generated_api_json_strings.inputdeps.stamp [8/19353] ACTION //ui/gl/mojom:mojom__type_mappings__validator(//build/toolchain/win:x64) [9/19353] ACTION //ui/latency/mojom:mojom__type_mappings__validator(//build/toolchain/win:x64) [10/19353] ACTION //base/tracing/protos:chrome_track_event_resources_grit(//build/toolchain/win:x64) [11/19353] ACTION //chrome/app/resources:platform_locale_settings_grit(//build/toolchain/win:x64) [12/19353] STAMP obj/base/tracing/protos/chrome_track_event_resources_grit.stamp [13/19353] STAMP obj/chrome/app/resources/platform_locale_settings_grit.stamp [14/19353] CXX obj/third_party/webrtc_overrides/system_time/system_time.obj C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\stdint.h C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vcruntime.h C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\sal.h C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\concurrencysal.h C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vadefs.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/time/time.h C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\time.h C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt.h C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\winapifamily.h C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\winpackagefamily.h C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_wtime.h C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\iosfwd C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\yvals.h C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\yvals_core.h C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\crtdbg.h C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vcruntime_new_debug.h C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vcruntime_new.h C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\crtdefs.h C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\use_ansi.h C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cstdio C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\stdio.h C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_wstdio.h C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_stdio_config.h C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cstring C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\string.h C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_memory.h C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_memcpy_s.h C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\errno.h C:\Program Files (x86)\Microsoft Visual ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/trace_event/memory_usage_estimator.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/containers/flat_set.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/containers/mru_cache.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/base_switches.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/command_line.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/debug/leak_annotations.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/no_destructor.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/process/process.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/process/process_metrics.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/cpu.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/system/sys_info.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/task/current_thread.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/message_loop/message_pump_for_io.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/message_loop/message_pump_win.h C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\windows.h C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\sdkddkver.h C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\excpt.h C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\windef.h C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\minwindef.h C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winnt.h C:\Program Files (x86)\Windows ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/threading/thread_local_internal.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/threading/thread_local_storage.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/trace_event/common/trace_event_common.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/trace_event/thread_instruction_count.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/trace_event/trace_arguments.h gen\base/tracing_buildflags.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\third_party/perfetto/include/perfetto/protozero/scattered_heap_buffer.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/perfetto/include\perfetto/protozero/root_message.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/perfetto/include\perfetto/protozero/message_arena.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\base/trace_event/trace_event_memory_overhead.h ../../../../../../qt6/qtwebengine/src/3rdparty/chromium\mojo/public/cpp/bindings/lib/generated_code_util.h gen\mojo/public/interfaces/bindings/interface_control_messages.mojom.h gen\mojo/public/interfaces/bindings/interface_control_messages.mojom-shared.h gen\mojo/public/interfaces/bindings/interface_control_messages.mojom-shared-internal.h gen\mojo/public/interfaces/bindings/interface_control_messages.mojom-forward.h gen\components/payments/mojom/payment_request_data.mojom-params-data.h gen\components/payments/mojom/payment_request_data.mojom-shared-message-ids.h gen\components/payments/mojom/payment_request_data.mojom-import-headers.h [62/19353] ACTION //chrome/app:generated_resources_grit(//build/toolchain/win:x64) ninja: build stopped: subcommand failed. FAILED: src/core/Release/AMD64/QtWebEngineCore.stamp src/core/Release/AMD64/QtWebEngineCore C:/Users/zzzz/Downloads/qt6-build/qtwebengine/src/core/Release/AMD64/QtWebEngineCore.stamp C:/Users/zzzz/Downloads/qt6-build/qtwebengine/src/core/Release/AMD64/QtWebEngineCore cmd.exe /C "cd /D C:\Users\zzzz\Downloads\qt6-build\qtwebengine\src\core && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" -C C:/Users/zzzz/Downloads/qt6-build/qtwebengine/src/core/Release/AMD64 QtWebEngineCore" ninja: build stopped: subcommand failed.
platform: Windows 10
compiler: Microsoft Visual Studio Community 2019
Latest qt/qt5 git repo source code.
I built Qt default modules firstly.
..\qt6\configure.bat -release -ssl -c++std c++17 -skip qtwebchannel -skip qtwebengine -skip qtmultimedia -prefix C:\Qt cmake --build . --parallel cmake --install .
Then try to build QtWebEngine
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-std=c++17" -DQT_BUILD_TESTS=OFF -DCMAKE_AUTOGEN_VERBOSE=ON -DQT_FEATURE_webengine_proprietary_codecs=ON C:\Users\zzzz\Downloads\qt6\qtwebengine
cmake --build . --parallel
cmake --install .
After running `cmake --build . --parallel` about 30 minutes, it failed
ninja: build stopped: subcommand failed. FAILED: src/core/Release/AMD64/QtWebEngineCore.stamp src/core/Release/AMD64/QtWebEngineCore C:/Users/zzzz/Downloads/qt6-build/qtwebengine/src/core/Release/AMD64/QtWebEngineCore.stamp C:/Users/zzzz/Downloads/qt6-build/qtwebengine/src/core/Release/AMD64/QtWebEngineCore cmd.exe /C "cd /D C:\Users\zzzz\Downloads\qt6-build\qtwebengine\src\core && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" -C C:/Users/zzzz/Downloads/qt6-build/qtwebengine/src/core/Release/AMD64 QtWebEngineCore" ninja: build stopped: subcommand failed.
Attachments
Issue Links
- is duplicated by
-
QTBUG-96357 WebEngine does not build with MSVC 2019
- Closed