Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Recompiling webengine for 32bit, is that possible?
I'm in the need of recompiling webengine just to add the parameter "-webengine-proprietary-codecs" which is necessary for my application. However my application need to run on old 32bit computers as well.
Reading through some documentation, it seems that QtWebengine only compile in 64bit, is that correct? Is there any way for me to recompile QtWebengine in 32bit?
I use Windows 10 and MSVC 2017 for compilation on a 64 bit VM.
Thanks for your help.
Reading through some documentation, it seems that QtWebengine only compile in 64bit, is that correct?
AFAIK, yes. 2 GB RAM (the limit for 32bit programs) are not enough to link.
Is there any way for me to recompile QtWebengine in 32bit?
You need a cross-compiler, running on the 64 bit host and producing 32 bit executables.
Thanks for your reply. Do you know if MSVC 2017 is a cross compiler and can produce 32 bit ?
When I install Qt 5.12.2 (Both msvc2017 and msvc2017_64) and go to the source of webengine to recompile with different parameters, I end up with the following line during configure:
"Required 64-bit cross-building or native toolchain could not be found. QtWebEngine will not be built."
I tried using the qmake of 32bit and 64bit version of Qt 5.12.2 with the same result.
Maybe it should be a specific parameter following vcvarsall.bat when setting up the command line?
Thanks again for your help
it seem this thread: https://forum.qt.io/topic/85264/cross-compile-qt-5-9-1-with-msvc-2017-x64-to-x86-fails-with-linker-error describes your scenario quite well
I have no experience with that myself, though.
This worked, thank you very much.
designestan Banned last edited by
This post is deleted!