How to make QtWebEngine work on Windows 10 32 bit?
-
Hi,
I'm working on an application that uses QtWebEngine. I usually develop on and target GNU/Linux, so I'm a bit off my game on Windows.I need to build the application to run on Windows 10 32 bit but, apparently, QtWebEngine isn't available for Windows 32 bit.
I was successful in building and running the application for Windows 7/10 64 bit, using Qt 5.11, Qt Creator 4.6.?, MSVS 2017 tools and SDK.Is there anyway to get QtWebEngine working on Windows 32 bit?
Maybe using some older Qt5 version? Custom build QtWebEngine?Thanks in advance.
p.s. Why is QtWebEngine not supported on Windows 32 bit? That caught me by surprise!
-
Hi, and welcome!
@PC-LX said in How to make QtWebEngine work on Windows 10 32 bit?:
p.s. Why is QtWebEngine not supported on Windows 32 bit? That caught me by surprise!
It is supported, but no pre-built libraries are supplied. This is because Qt WebEngine uses Chromium internally, and this version of Chromium only supports MSVC2017 on Windows. However, the Qt Project only supplies the 64-bit version of Qt for MSVC 2017.
To get the binaries, you'll need to build the 32-bit version of Qt for MSVC 2017 yourself. This can be quite a lengthy process; are you prepared to do this? If so, get started at https://wiki.qt.io/Building_Qt_5_from_Git (Note: The instructions for building Qt WebEngine seem to be missing. I've never done it myself, so I'll let someone else chime in with the details)