Description
I am trying to build Qt 6.5.3 with the WebEngine on Windows using Visual Studio 2019:
Visual Studio 2019 Developer Command Prompt v16.9.7
Qt 6.5.3 is configured using the following command line:
configure.bat -prefix c:\tmp\qt-6.5.3-p2-webengine-msvc142x64 -opengl desktop -c++std c++17 -qt-libpng -qt-libjpeg -skip qtwebview -skip qtpositioning -skip qtlocation -debug-and-release -force-debug-info -separate-debug-info -mp -qt-zlib
I meet the following error message:
[2023-11-24T14:30:17.746Z] [713/26934] CXX obj/components/certificate_transparency/proto/ct_timestamp.pb.obj [2023-11-24T14:30:17.746Z] [714/26934] CXX obj/components/device_event_log/device_event_log/device_event_log_impl.obj [2023-11-24T14:30:17.746Z] FAILED: obj/components/device_event_log/device_event_log/device_event_log_impl.obj [2023-11-24T14:30:17.747Z] ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\bin\Hostx64\x64\cl.exe" /c ../../../../../../qtsrc/qtwebengine/src/3rdparty/chromium/components/device_event_log/device_event_log_impl.cc /Foobj/components/device_event_log/device_event_log/device_event_log_impl.obj /nologo /showIncludes -DDEVICE_EVENT_LOG_IMPLEMENTATION -DUSE_AURA=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -Igen -I../../../../../../qtsrc/qtwebengine/src/3rdparty/chromium -I../../../../../../qtsrc/qtwebengine/src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../../../../../qtsrc/qtwebengine/src/3rdparty/chromium/third_party/abseil-cpp -I../../../../../../qtsrc/qtwebengine/src/3rdparty/chromium/third_party/boringssl/src/include -I../../../../../../qtsrc/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -I../../../../../../qtsrc/qtwebengine/src/3rdparty/chromium/third_party/icu/source/common -I../../../../../../qtsrc/qtwebengine/src/3rdparty/chromium/third_party/icu/source/i18n /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 /wd4003 /wd4068 /wd5051 /wd4244 /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi /Zi /MD /wd4577 /std:c++17 /TP /GR- /Fd"obj/components/device_event_log/device_event_log_cc.pdb" [2023-11-24T14:30:17.747Z] C:\jenkins\workspace\qtb\qtsrc\qtwebengine\src\3rdparty\chromium\base/functional/invoke.h(132): error C2064: term does not evaluate to a function taking 1 arguments [2023-11-24T14:30:17.747Z] C:\jenkins\workspace\qtb\qtsrc\qtwebengine\src\3rdparty\chromium\base/functional/invoke.h(146): note: see reference to function template instantiation 'decltype(auto) base::internal::InvokeImpl<Proj1&,device_event_log::DeviceEventLogImpl::LogEntry&>(F,device_event_log::DeviceEventLogImpl::LogEntry &)' being compiled [2023-11-24T14:30:17.748Z] with [2023-11-24T14:30:17.748Z] [ [2023-11-24T14:30:17.748Z] Proj1=base::Time device_event_log::DeviceEventLogImpl::LogEntry::* , [2023-11-24T14:30:17.748Z] F=base::Time device_event_log::DeviceEventLogImpl::LogEntry::* & [2023-11-24T14:30:17.748Z] ] [2023-11-24T14:30:17.748Z] C:\jenkins\workspace\qtb\qtsrc\qtwebengine\src\3rdparty\chromium\base/ranges/algorithm.h(106): note: see reference to function template instantiation 'decltype(auto) base::invoke<Proj1&,device_event_log::DeviceEventLogImpl::LogEntry&>(F,device_event_log::DeviceEventLogImpl::LogEntry &)' being compiled [2023-11-24T14:30:17.748Z] with [2023-11-24T14:30:17.748Z] [ [2023-11-24T14:30:17.748Z] Proj1=base::Time device_event_log::DeviceEventLogImpl::LogEntry::* , [2023-11-24T14:30:17.748Z] F=base::Time device_event_log::DeviceEventLogImpl::LogEntry::* & [2023-11-24T14:30:17.748Z] ] [2023-11-24T14:30:17.748Z] C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include\xutility(5966): note: see reference to function template instantiation 'bool base::internal::BinaryPredicateProjector<Pred,Proj1,Proj2,false>::operator ()<device_event_log::DeviceEventLogImpl::LogEntry&,const _Ty&>(T,U) const' being compiled [2023-11-24T14:30:17.748Z] with [2023-11-24T14:30:17.748Z] [ [2023-11-24T14:30:17.748Z] Pred=std::less<void>, [2023-11-24T14:30:17.748Z] Proj1=base::Time device_event_log::DeviceEventLogImpl::LogEntry::* , [2023-11-24T14:30:17.748Z] Proj2=base::identity, [2023-11-24T14:30:17.748Z] _Ty=base::Time, [2023-11-24T14:30:17.748Z] T=device_event_log::DeviceEventLogImpl::LogEntry &, [2023-11-24T14:30:17.748Z] U=const base::Time & [2023-11-24T14:30:17.748Z] ] [2023-11-24T14:30:17.748Z] C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include\xutility(5966): note: see reference to function template instantiation 'bool base::internal::BinaryPredicateProjector<Pred,Proj1,Proj2,false>::operator ()<device_event_log::DeviceEventLogImpl::LogEntry&,const _Ty&>(T,U) const' being compiled [2023-11-24T14:30:17.748Z] with [2023-11-24T14:30:17.748Z] [ [2023-11-24T14:30:17.748Z] Pred=std::less<void>, [2023-11-24T14:30:17.748Z] Proj1=base::Time device_event_log::DeviceEventLogImpl::LogEntry::* , [2023-11-24T14:30:17.749Z] Proj2=base::identity, [2023-11-24T14:30:17.749Z] _Ty=base::Time, [2023-11-24T14:30:17.749Z] T=device_event_log::DeviceEventLogImpl::LogEntry &, [2023-11-24T14:30:17.749Z] U=const base::Time & [2023-11-24T14:30:17.749Z] ] [2023-11-24T14:30:17.749Z] C:\jenkins\workspace\qtb\qtsrc\qtwebengine\src\3rdparty\chromium\base/ranges/algorithm.h(3109): note: see reference to function template instantiation '_FwdIt std::lower_bound<ForwardIterator,T,base::internal::BinaryPredicateProjector<Pred,Proj1,Proj2,false>>(_FwdIt,const _FwdIt,const _Ty &,_Pr)' being compiled [2023-11-24T14:30:17.749Z] with [2023-11-24T14:30:17.749Z] [ [2023-11-24T14:30:17.749Z] _FwdIt=std::_List_iterator<std::_List_val<std::_List_simple_types<device_event_log::DeviceEventLogImpl::LogEntry>>>, [2023-11-24T14:30:17.749Z] ForwardIterator=std::_List_iterator<std::_List_val<std::_List_simple_types<device_event_log::DeviceEventLogImpl::LogEntry>>>, [2023-11-24T14:30:17.749Z] T=base::Time, [2023-11-24T14:30:17.749Z] Pred=std::less<void>, [2023-11-24T14:30:17.749Z] Proj1=base::Time device_event_log::DeviceEventLogImpl::LogEntry::* , [2023-11-24T14:30:17.749Z] Proj2=base::identity, [2023-11-24T14:30:17.749Z] _Ty=base::Time, [2023-11-24T14:30:17.749Z] _Pr=base::internal::BinaryPredicateProjector<std::less<void>,base::Time device_event_log::DeviceEventLogImpl::LogEntry::* ,base::identity,false> [2023-11-24T14:30:17.749Z] ] [2023-11-24T14:30:17.749Z] C:\jenkins\workspace\qtb\qtsrc\qtwebengine\src\3rdparty\chromium\base/ranges/algorithm.h(3132): note: see reference to function template instantiation '_FwdIt base::ranges::lower_bound<std::_List_iterator<std::_List_val<std::_List_simple_types<_Ty>>>,T,std::less<void>,base::Timedevice_event_log::DeviceEventLogImpl::LogEntry::* ,std::bidirectional_iterator_tag>(ForwardIterator,ForwardIterator,const T &,Comp,Proj)' being compiled [2023-11-24T14:30:17.750Z] with [2023-11-24T14:30:17.750Z] [ [2023-11-24T14:30:17.750Z] _FwdIt=std::_List_iterator<std::_List_val<std::_List_simple_types<device_event_log::DeviceEventLogImpl::LogEntry>>>, [2023-11-24T14:30:17.750Z] _Ty=device_event_log::DeviceEventLogImpl::LogEntry, [2023-11-24T14:30:17.750Z] T=base::Time, [2023-11-24T14:30:17.750Z] ForwardIterator=std::_List_iterator<std::_List_val<std::_List_simple_types<device_event_log::DeviceEventLogImpl::LogEntry>>>, [2023-11-24T14:30:17.750Z] Comp=std::less<void>, [2023-11-24T14:30:17.750Z] Proj=base::Time device_event_log::DeviceEventLogImpl::LogEntry::* [2023-11-24T14:30:17.750Z] ] [2023-11-24T14:30:17.750Z] ../../../../../../qtsrc/qtwebengine/src/3rdparty/chromium/components/device_event_log/device_event_log_impl.cc(472): note: see reference to function template instantiation '_FwdIt base::ranges::lower_bound<device_event_log::DeviceEventLogImpl::LogEntryList&,base::Time,base::ranges::less,base::Timedevice_event_log::DeviceEventLogImpl::LogEntry::* ,std::bidirectional_iterator_tag>(Range,const T &,Comp,Proj)' being compiled [2023-11-24T14:30:17.750Z] with [2023-11-24T14:30:17.750Z] [ [2023-11-24T14:30:17.750Z] _FwdIt=std::_List_iterator<std::_List_val<std::_List_simple_types<device_event_log::DeviceEventLogImpl::LogEntry>>>, [2023-11-24T14:30:17.750Z] Range=device_event_log::DeviceEventLogImpl::LogEntryList &, [2023-11-24T14:30:17.750Z] T=base::Time, [2023-11-24T14:30:17.750Z] Comp=base::ranges::less, [2023-11-24T14:30:17.750Z] Proj=base::Time device_event_log::DeviceEventLogImpl::LogEntry::* [2023-11-24T14:30:17.750Z] ] [2023-11-24T14:30:17.750Z] C:\jenkins\workspace\qtb\qtsrc\qtwebengine\src\3rdparty\chromium\base/ranges/algorithm.h(106): error C2672: 'base::invoke': no matching overloaded function found [2023-11-24T14:30:17.750Z] C:\jenkins\workspace\qtb\qtsrc\qtwebengine\src\3rdparty\chromium\base/ranges/algorithm.h(107): error C2893: Failed to specialize function template 'decltype(auto) base::invoke(F &&,Args &&...)' [2023-11-24T14:30:17.751Z] C:\jenkins\workspace\qtb\qtsrc\qtwebengine\src\3rdparty\chromium\base/functional/invoke.h(146): note: see declaration of 'base::invoke' [2023-11-24T14:30:17.751Z] C:\jenkins\workspace\qtb\qtsrc\qtwebengine\src\3rdparty\chromium\base/ranges/algorithm.h(107): note: With the following template arguments: [2023-11-24T14:30:17.751Z] C:\jenkins\workspace\qtb\qtsrc\qtwebengine\src\3rdparty\chromium\base/ranges/algorithm.h(107): note: 'F=Pred &' [2023-11-24T14:30:17.751Z] C:\jenkins\workspace\qtb\qtsrc\qtwebengine\src\3rdparty\chromium\base/ranges/algorithm.h(107): note: 'Args={void, const _Ty &}' [2023-11-24T14:30:17.751Z] [715/26934] CXX obj/components/certificate_transparency/proto/certificate_transparency.pb.obj [2023-11-24T14:30:17.751Z] [716/26934] CXX obj/components/crash/core/common/crash_key_lib/crash_key_crashpad.obj [2023-11-24T14:30:17.751Z] [717/26934] CXX obj/components/services/storage/indexed_db/scopes/scopes_metadata_proto/scopes_metadata.pb.obj [2023-11-24T14:30:17.751Z] [718/26934] CXX obj/components/crx_file/crx3_proto/crx3.pb.obj [2023-11-24T14:30:17.751Z] [719/26934] CXX obj/components/onc/onc/onc_constants.obj [2023-11-24T14:30:17.751Z] [720/26934] CXX obj/components/enterprise/common/download_item_reroute_info/download_item_reroute_info.obj [2023-11-24T14:30:17.751Z] [721/26934] CXX obj/components/memory_pressure/memory_pressure/system_memory_pressure_evaluator.obj [2023-11-24T14:30:17.751Z] [722/26934] CXX obj/components/image_fetcher/core/cache/proto/proto/cached_image_metadata.pb.obj [2023-11-24T14:30:17.751Z] [723/26934] CXX obj/components/gcm_driver/crypto/proto/proto/gcm_encryption_data.pb.obj [2023-11-24T14:30:17.751Z] [724/26934] CXX obj/components/enterprise/common/proto/download_item_reroute_info_proto/download_item_reroute_info.pb.obj [2023-11-24T14:30:17.751Z] [725/26934] CXX obj/components/memory_pressure/memory_pressure/memory_pressure_level_reporter.obj [2023-11-24T14:30:18.009Z] [726/26934] LIB obj/components/gcm_driver/common/common.lib [2023-11-24T14:30:18.009Z] [727/26934] LIB obj/components/history/core/common/common.lib [2023-11-24T14:30:18.009Z] [728/26934] CXX obj/content/public/common/main_function_params/main_function_params.obj [2023-11-24T14:30:18.009Z] [729/26934] CXX obj/components/memory_pressure/memory_pressure/system_memory_pressure_evaluator_win.obj [2023-11-24T14:30:18.265Z] [730/26934] CXX obj/components/profile_metrics/profile_metrics/browser_profile_type.obj [2023-11-24T14:30:18.265Z] [731/26934] CXX obj/components/leveldb_proto/proto/shared_db_metadata.pb.obj [2023-11-24T14:30:18.265Z] [732/26934] CXX obj/components/password_manager/core/common/features/password_manager_features.obj [2023-11-24T14:30:18.265Z] [733/26934] CXX obj/content/public/browser/proto/google_streaming_api.pb.obj [2023-11-24T14:30:18.265Z] [734/26934] CXX obj/components/offline_pages/core/request_header/request_header/offline_page_header.obj [2023-11-24T14:30:18.521Z] [735/26934] CXX obj/components/query_parser/query_parser/query_parser.obj [2023-11-24T14:30:18.521Z] [736/26934] CXX obj/components/onc/onc/onc_pref_names.obj [2023-11-24T14:30:18.521Z] [737/26934] CXX obj/components/prefs/prefs/pref_store.obj [2023-11-24T14:30:18.521Z] [738/26934] CXX obj/components/discardable_memory/common/common/discardable_shared_memory_heap.obj [2023-11-24T14:30:18.521Z] [739/26934] CXX obj/components/profile_metrics/profile_metrics/state.obj [2023-11-24T14:30:18.521Z] [740/26934] CXX obj/components/profile_metrics/profile_metrics/counts.obj [2023-11-24T14:30:18.521Z] [741/26934] CXX obj/components/query_parser/query_parser/snippet.obj [2023-11-24T14:30:18.777Z] [742/26934] CXX obj/components/image_fetcher/core/metrics/image_fetcher_metrics_reporter.obj [2023-11-24T14:30:18.777Z] [743/26934] CXX obj/components/prefs/prefs/writeable_pref_store.obj [2023-11-24T14:30:18.777Z] [744/26934] CXX obj/components/password_manager/core/common/common/common_jumbo_1.obj [2023-11-24T14:30:18.777Z] [745/26934] CXX obj/components/memory_pressure/memory_pressure/memory_pressure_voter.obj [2023-11-24T14:30:18.777Z] [746/26934] CXX obj/components/memory_pressure/memory_pressure/multi_source_memory_pressure_monitor.obj [2023-11-24T14:30:18.777Z] [747/26934] CXX obj/components/prefs/prefs/persistent_pref_store.obj [2023-11-24T14:30:18.777Z] [748/26934] CXX obj/components/prefs/prefs/pref_registry_simple.obj [2023-11-24T14:30:18.777Z] [749/26934] CXX obj/components/prefs/prefs/scoped_user_pref_update.obj [2023-11-24T14:30:18.777Z] [750/26934] CXX obj/components/prefs/prefs/pref_value_store.obj [2023-11-24T14:30:19.033Z] [751/26934] CXX obj/components/prefs/prefs/value_map_pref_store.obj [2023-11-24T14:30:19.033Z] [752/26934] CXX obj/components/prefs/prefs/segregated_pref_store.obj [2023-11-24T14:30:19.033Z] [753/26934] CXX obj/components/prefs/prefs/pref_change_registrar.obj [2023-11-24T14:30:19.033Z] [754/26934] CXX obj/components/prefs/prefs/pref_value_map.obj [2023-11-24T14:30:19.033Z] [755/26934] CXX obj/components/prefs/prefs/pref_member.obj [2023-11-24T14:30:19.033Z] [756/26934] CXX obj/components/paint_preview/common/proto/proto/paint_preview.pb.obj [2023-11-24T14:30:19.033Z] [757/26934] CXX obj/components/prefs/prefs/pref_notifier_impl.obj [2023-11-24T14:30:19.033Z] [758/26934] CXX obj/components/pref_registry/pref_registry/pref_registry_syncable.obj [2023-11-24T14:30:19.288Z] [759/26934] CXX obj/components/prefs/prefs/pref_registry.obj [2023-11-24T14:30:19.288Z] [760/26934] CXX obj/components/prefs/prefs/pref_service_factory.obj [2023-11-24T14:30:19.288Z] [761/26934] CXX obj/components/prefs/prefs/pref_service.obj [2023-11-24T14:30:19.543Z] [762/26934] ACTION //components/resources:about_credits(//build/toolchain/win:x64) [2023-11-24T14:30:22.802Z] [763/26934] CXX obj/third_party/pdfium/core/fxcrt/fxcrt/fx_memory_pa.obj [2023-11-24T14:30:22.802Z] ninja: build stopped: subcommand failed. [2023-11-24T14:30:23.056Z] [18235/18574] Linking CXX shared module qtbase\qml\QtQuick\VirtualKeyboard\Plugins\Thai\qtvkbthaiplugin.dll [2023-11-24T14:30:23.057Z] FAILED: qtwebengine/src/core/RelWithDebInfo/AMD64/QtWebEngineCore.stamp qtwebengine/src/core/RelWithDebInfo/AMD64/QtWebEngineCore C:/jenkins/workspace/qtb/build/qtwebengine/src/core/RelWithDebInfo/AMD64/QtWebEngineCore.stamp C:/jenkins/workspace/qtb/build/qtwebengine/src/core/RelWithDebInfo/AMD64/QtWebEngineCore [2023-11-24T14:30:23.057Z] cmd.exe /C "cd /D C:\jenkins\workspace\qtb\build\qtwebengine\src\core && C:\ProgramData\chocolatey\bin\ninja.exe -C C:/jenkins/workspace/qtb/build/qtwebengine/src/core/RelWithDebInfo/AMD64 QtWebEngineCore" [2023-11-24T14:30:23.057Z] ninja: build stopped: subcommand failed.