Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[package] qt/6.x.x: Can't build WebEngine on Windows #26046

Open
mabean opened this issue Nov 26, 2024 · 0 comments
Open

[package] qt/6.x.x: Can't build WebEngine on Windows #26046

mabean opened this issue Nov 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mabean
Copy link

mabean commented Nov 26, 2024

Description

I'm trying to build Qt 6.8 (little bit changed recipe) with WebEngine on Windows, but get a error, which is related to the long paths limit I assume.

I tried to use the shortest possible build cache path (like D:/b/), but the error still occurs. Same problem I got on 6.7.3 version. That makes me think, that it's just impossible to build WebEngine for the latest Qt 6 version using CMake + ninja approach in the current recipe. Ninja has problems with the long paths even in the latest versions (https://developercommunity.visualstudio.com/t/compiler-cant-find-source-file-in-path/10221576#T-N10648230).

I also created a related bug for Qt: https://bugreports.qt.io/browse/QTBUG-130921

Package and Environment Details

  • Package Name/Version: qt/6.7.3
  • Operating System+version: Windows 10/11
  • Compiler+version: MSVC 19.41
  • Conan version: conan 2.9.1
  • Python version: Python 3.9.2

Conan profile

[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=17
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=194
os=Windows

Steps to reproduce

conan create . --build=missing -o qtwebengine=True

Logs

Click to expand log
ninja -t msvc -e environment.x64 -- "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /c gen/base/base_jumbo_40.cc /Foobj/base/base/base_jumbo_40.obj /nologo /showIncludes -DBASE_IMPLEMENTATION -DIS_RAW_PTR_IMPL -DCOM_INIT_CHECK_HOOK_DISABLED -DUSE_AURA=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -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_NI -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 
-I. -Igen -I../../../../../../../../../qt6602b01dd4816/s/src/qtwebengine/src/3rdparty/chromium -I../../../../../../../../../qt6602b01dd4816/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../../../../../../../../qt6602b01dd4816/s/src/qtwebengine/src/3rdparty/chromium/base/allocator/partition_allocator/src -Igen/base/allocator/partition_allocator/src -I../../../../../../../../../qt6602b01dd4816/s/src/qtwebengine/src/3rdparty/chromium/third_party/abseil-cpp -I../../../../../../../../../qt6602b01dd4816/s/src/qtwebengine/src/3rdparty/chromium/third_party/boringssl/src/include -I../../../../../../../../../qt6602b01dd4816/s/src/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out /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 /w34996 /wd4244 /Gy /FS /bigobj /utf-8 /Zc:preprocessor /wd5105 /MD /FIbuild/precompile.h /O2 /Ob2 /Oy- /Zc:inline /Gw /Fpobj/base/base_cc.pch /Yubuild/precompile.h /wd4577 /std:c++20 /TP /GR- /Fd"obj/base/base_cc.pdb"
.\../../../../../../../../../qt6602b01dd4816/s/src/qtwebengine/src/3rdparty/chromium/base/allocator/partition_alloc_support.cc(29): fatal error C1083: Cannot open include file: 'base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim_default_dispatch_to_partition_alloc.h': No such file or directory
@mabean mabean added the bug Something isn't working label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant