Qt5-WebEngine very short install stage (41s). Nothing is installed and port is marked installed.
Nobody has claimed this yet.
- Dominant language
- CMake
- Stars
- 27.5k
- Forks
- 7.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 321
Description
### Operating system
Windows 10 22H2 Build 19045.6216
### Compiler
Visual Studio Comunity 2022 version 17.14.12
### Steps to reproduce the behavior
```Shell
Removing 1/1 qt5-webengine:x64-windows
Computing installation plan...
The following packages will be built and installed:
python2:x64-windows@2.7.18#7
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
Installing 1/1 python2:x64-windows@2.7.18#7...
Building python2:x64-windows@2.7.18#7...
Downloading https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tar.xz -> Python-2.7.18.tar.xz
Successfully downloaded Python-2.7.18.tar.xz
-- Extracting source E:/d/Python-2.7.18.tar.xz
-- Applying patch C:/vcpkg/ports/python2/001-build-msvc.patch
-- Applying patch C:/vcpkg/ports/python2/002-build-msvc.patch
-- Applying patch C:/vcpkg/ports/python2/003-build-msvc.patch
-- Applying patch C:/vcpkg/ports/python2/007-fix-build-path.patch
-- Using source at E:/b/python2/src/Python-2-02d75c028b.clean
-- Found external ninja('1.12.1').
-- Getting CMake variables for x64-windows
-- Loading CMake variables from E:/b/python2/cmake-get-vars_C_CXX-x64-windows.cmake.log
-- Building PCBuild/pythoncore.vcxproj for Release
-- Building PCBuild/pythoncore.vcxproj for Debug
-- Installing: C:/vcpkg/packages/python2_x64-windows/share/python2/copyright
-- Performing post-build validation
Elapsed time to handle python2:x64-windows: 46 s
python2:x64-windows package ABI: f9a7edeceec038cd2bef9d0432d143cb472bdb87fac027796d780794447cafd2
Total install time: 46 s
Installed contents are licensed to you by owners. Microsoft is not responsible for, nor does it grant any licenses to, t
Packages installed in this vcpkg installation declare the following licenses:
Python-2.0
All requested installations completed successfully in: 46 s
Computing installation plan...
The following packages will be built and installed:
qt5-webengine:x64-windows@5.15.17
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
Installing 1/1 qt5-webengine:x64-windows@5.15.17...
Building qt5-webengine:x64-windows@5.15.17...
-- qt5-webengine requires a lot of free disk space (>100GB), ram (>8 GB) and time (>2h per configuration) to be successf
-- As such qt5-webengine is currently experimental.
-- If qt5-webengine fails post build validation please try manually reducing VCPKG_MAX_CONCURRENCY and open up an issue
-- If it fails due to post validation the successfully installed files can be found in C:/vcpkg/packages/qt5-webengine_x
-- and just need to be copied into E:/dk/x64-windows
-- Found external ninja('1.12.1').
CMake Warning at ports/qt5-webengine/portfile.cmake:55 (message):
Found ninja version 1.12.1 which may fail to build qt5-webengine.You can
supply a different filepath using per-port customization of CMake variable
NINJA.
Call Stack (most recent call first):
scripts/ports.cmake:206 (include)
-- Using cached qtwebengine-everywhere-opensource-src-5.15.17.tar.xz
-- Cleaning sources at E:/b/qt5-webengine/src/5.15.17-5d6c981544.clean. Use --editable to skip cleaning for the packages
-- Extracting source E:/d/qtwebengine-everywhere-opensource-src-5.15.17.tar.xz
-- Applying patch common.pri.patch
-- Applying patch gl.patch
-- Applying patch build_1.patch
-- Applying patch workaround-protobuf-issue.patch
-- Applying patch 0001-Fix-jumbo-build-error-due-to-ResolveColor-redefiniti.patch
-- Applying patch fix-spellcheck-buildflags.patch
-- Using source at E:/b/qt5-webengine/src/5.15.17-5d6c981544.clean
-- Getting CMake variables for x64-windows
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at E:/d/tools/msys2/9272adbcaf19caef
-- Configuring x64-windows-rel
-- Configuring x64-windows-rel done
-- Configuring x64-windows-dbg
-- Configuring x64-windows-dbg done
-- Package build-x64-windows-dbg
-- Package build-x64-windows-rel
-- Package install-x64-windows-dbg
-- Package install-x64-windows-rel
-- Installing: C:/vcpkg/packages/qt5-webengine_x64-windows/share/qt5-webengine/copyright
-- Performing post-build validation
C:\vcpkg\ports\qt5-webengine\portfile.cmake: warning: The folder ${CURRENT_PACKAGES_DIR}/include is empty or not presentre not correctly installed. If this is a CMake helper port, add set(VCPKG_POLICY_CMAKE_HELPER_PORT enabled). If this is otherwise intentional, add set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled) to suppress this message.
C:\vcpkg\ports\qt5-webengine\portfile.cmake: warning: Found 1 post-build check problem(s). These are usually caused by bam build system. Please correct these before submitting this port to the curated registry.
Elapsed time to handle qt5-webengine:x64-windows: 41 s
qt5-webengine:x64-windows package ABI: e47997983c8abe9bdb777a9b44ed1699e3f5541562fe47da64300645b8a953ab
Total install time: 41 s
Installed contents are licensed to you by owners. Microsoft is not responsible for, nor does it grant any licenses to, t
Some packages did not declare an SPDX license. Check the `copyright` file for each package for more information about th
All requested installations completed successfully in: 41 s
```
### Failure logs
qt5-webengine config log file is explicit about the problem:
Running configuration tests...
Checking for architecture supported... yes
Checking for bison... E:/dk/x64-windows/tools/qt5/debug/mkspecs/features/qt_configure.prf:413: Unexpected return value from test 'ensurePathEnv': E:/b/qt5-webengine/src/gnuwin32/bin/bison.exe.
yes
Checking for submodule initialized... yes
Checking for build path without whitespace... yes
Checking for platform supported...
Checking for gperf... E:/dk/x64-windows/tools/qt5/debug/mkspecs/features/qt_configure.prf:413: Unexpected return value from test 'ensurePathEnv': E:/b/qt5-webengine/src/gnuwin32/bin/gperf.exe.
yes
Checking for flex... E:/dk/x64-windows/tools/qt5/debug/mkspecs/features/qt_configure.prf:413: Unexpected return value from test 'ensurePathEnv': E:/b/qt5-webengine/src/gnuwin32/bin/flex.exe.
yes
Checking for python2...
Checking for jumbo build merge limit... 0
Checking for node.js... true
Checking for d-bus... no
Checking for fontconfig... no
Checking for libdrm... no
Checking for system ninja... no
Checking for xcomposite... no
Checking for xcursor... no
Checking for xi... no
Checking for xkbfile... no
Checking for xtst... no
Checking for 64bit compiler... yes
Checking for winversion... yes
Done running configuration tests.
Configure summary:
Qt WebEngine Build Tools:
Use System Ninja ....................... no
Jumbo Build Merge Limit ................ no
Developer build ........................ no
Sanitizer .............................. no
Note: The following modules are not being compiled in this configuration:
webenginecore
webengine
webenginewidgets
pdf
pdfwidgets
WARNING: Python version 2 (2.7.5 or later) or Python version 3 (3.6 or later) is required to build QtWebEngine.
WARNING: Python version 2 (2.7.5 or later) or Python version 3 (3.6 or later) is required to build QtPdf.
WARNING: QtWebEngine will not be built.
WARNING: QtPdf 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 'E:\dk\x64-windows'.
Prior to reconfiguration, make sure you remove any leftovers from
the previous build.
### Additional context
I compiled qt5-webengine in May 2025 without problem.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with ports/qt5-webengine/portfile.cmake and the Qt WebEngine configuration output, focusing on why Python is not detected and why webenginecore, webengine, webenginewidgets, pdf, and pdfwidgets are skipped. Reproduce the x64-windows build and compare the configuration with the successful May 2025 build if available. Done means the expected Qt WebEngine modules are built and installed instead of only the copyright file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp, python
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100