-
Notifications
You must be signed in to change notification settings - Fork 11
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
Errors when compiling with msvc #33
Comments
Only error 4 remaining. I fixed error 1 by defining _ENABLE_EXTENDED_ALIGNED_STORAGE as sugested though i dont know what implications this has. I fixed error 2 and 3 by adding a missing const to XSLTProcessor::parseErrorFunc in .cpp and .h I still don't know for error 4. ProgressTrackerClient.h looks like:
The error is in the macro WTF_MAKE_FAST_ALLOCATED which expands to some crazy code overwriting new and delete operators. |
Sorry i did not encounter any of these errors on my build with MINGW. |
After expanding the macro to actual code i found a fix for error 4 by just adding a <WTF/FastMalloc.h> include. Now the next thing are linker errors for WebKitLegacy with QWebPluginFactory in FrameLoaderClientQt.obj and QWebPageAdapter.obj:
Can the WebPlugins be disabled? |
Ok, i finally had time again to look into this. I fixed the linker errors by adding missing "qt/Api/qwebpluginfactory.cpp" to the sources in "Source/WebKitLegacy/PlatformQt.cmake" and it finished compiling. Unfortunately the QtTestBrowser is only able to display basic webpages. When any javascript is involved it renders nothing. Thats strange because according to CMakeCache.txt it was built with jit enabled. As this is the 22-09-07 tag i'm now trying the master branch as well as setting up qt6 and its branch to try and see if that makes a difference. @mnutt Are you able to open complex pages like google maps with you qt6 build? |
Hi, i still can't get msvc to compile webkit for qt5.
With the help of @quarcko and others i already smashed a lot of errors but there are still some left and i have not yet found out how to fix these.
Error 1:
Error 2:
Error 3:
Error 4:
So does anyone know how to fix these? Thanks and best wishes!
The text was updated successfully, but these errors were encountered: