-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[qt5-webengine] Build error on x86-windows #39351
Comments
Is there any way to resolve this? I would rather not change my directories I assume there is some way to disable the length limit |
@3UR The check exists because there is no other simple way. |
Would there be any way around it if I have |
The installation path of vcpkg is too long. You can create a new vcpkg directory in the drive root directory, and then clone the code for compilation. Or build with specify the option, for example, If attempting long path support, see #32684 (comment) |
Well, you "only" have to make all tools capable of using long paths.
This issue is about |
I manually went and edited the Would any issues really happen now though as if(buildtrees_path_length GREATER 35 AND CMAKE_HOST_WIN32)
execute_process(
COMMAND powershell -Command "Get-ItemPropertyValue -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\FileSystem' -Name 'LongPathsEnabled'"
OUTPUT_VARIABLE LONG_PATHS_ENABLED
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if (LONG_PATHS_ENABLED STREQUAL "0")
vcpkg_buildpath_length_warning(35)
message(WARNING "The ${PORT} source was will be extracted to ${CURRENT_BUILDTREES_DIR} , which has more then 35 characters in length.")
message(FATAL_ERROR "terminating due to ${CURRENT_BUILDTREES_DIR} being too long.")
endif()
endif() |
If the build succeeds, then it should be good. |
Ok I see now there is more to then just having How would I do so? @WangWeiLin-MV @dg0yt I installed vcpkg through Visual Studio 2022 using |
I have been considering maybe I will just use CEF or something instead of WebEngine because I currently am upgrading to QT 5 and I don't want to use QT Webkit anymore and it seems WebEngine is a pain |
@3UR In manifest mode, just try |
Thanks! |
@WangWeiLin-MV Another question, do you know if I can also change the directory where Vcpkg downloads stuff ( |
Sorry for lots of questions still new to using Vcpkg 😅 |
Yes. By command line option --downloads-root=<path> or environment variable VCPKG_DOWNLOADS
Yes. The I'm thrilled I could assist you. |
Okay thanks I will close this now as it solved my issue :) |
With build system integration, don't call |
Package: qt5-webengine:[email protected]#3
Host Environment
vcpkg-readonly: true
vcpkg-scripts version: da4b78d
To Reproduce
vcpkg install
Failure logs
Additional context
vcpkg.json
The text was updated successfully, but these errors were encountered: