Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

WebEngine missing from Windows 5.15 installation



  • I downloaded and installed the Qt 5.15 Windows pre-built package a while ago though I am still using 5.9.6 for formal development. I have been playing around with 5.15 and wanted to try out a WebEngine example but WebEngine seems to be missing from my installation unless it is hidden away somewhere non-obvious. In 5.96, there are DLLs such as Qt5WebEngine.dll that I don't see in my 5.15 install.

    I originally tried to get my own toy example working and then as a sanity check tried one of the Qt examples. All fail because the webengine dependency added to QT in the pro file is not recognised:

    Project ERROR: Unknown module(s) in QT: webengine

    I went back to the installer to update my installation and it is definitely showing the WebEngine component checked.

    Any ideas anyone?



  • WebEngine module of 5.15 is only available for MSVC2019 kits on Windows because the building of it requires VS2017 or later, while 5.9 requires VS2015/2017.
    So when you install MSVC2015/MINGW versions, even if you have checked WebEngine component, you still won't have it.



  • @Bob64

    It's webenginecore and / or webenginewidgets. If I'm not mistaken, webengine is the name of the QML module.

    https://doc.qt.io/qt-5/qtwebenginecore-module.html#details



  • @Pl45m4 thanks for the suggestion but it was actually QML that I was working with. I perhaps should have mentioned that, but the issue did not seem to be particularly QML-specific given that the indications are that all WebEngine-related stuff is missing from my installation. I tried a Widgets example, the 'minimal' one and I get a similar issue:

    Project ERROR: Unknown module(s) in QT: webenginewidgets

    BTW I see this issue with two different 5.15 installs on different machines - one an older 5.15.0 install and the other a newer 5.15.1.



  • WebEngine module of 5.15 is only available for MSVC2019 kits on Windows because the building of it requires VS2017 or later, while 5.9 requires VS2015/2017.
    So when you install MSVC2015/MINGW versions, even if you have checked WebEngine component, you still won't have it.



  • @Bonnie Thanks - that is it. I have VS2017 compiler and use the VS2017 kit for 5.9.6 but my understanding when I installed 5.15 was that the VS2019 kit would not be compatible with VS2017 compiler so I am currently using the VS2015 kit. Fortunately we will be upgrading to VS2019 for development soon.


Log in to reply