Building an example project using QtWebEngine causes an error in Visual Studio 2019
-
I am building the QT official example project by Visual studio 2019 and environment is as follows.
Qt 6.2.4
Visual studio 2019 Version 16.11.13
-> installed Windows 10 SDK 10.0.19041 & ATL & clang-cl (version 8)All other examples work fine in both Qt Creator and VS 2019
However, QTWebEngine example the following error occurs only in VS 2019
(Qt Creator normally)Error ERROR running qmake
qmake: (C:/Qt/6.2.4/msvc2019_64/bin/qmake)
qmake: $PWD=D:\QTExample\webenginewidgets\simplebrowser\release\qmake\temp
qmake: Project ERROR: Unknown module(s) in QT: webengine
qmake: Error creating .vcxproj file
All other examples build normally. So I don't know why.
-
Hi, and welcome!
@Hugh_Zen said in Building an example project using QtWebEngine causes an error in Visual Studio 2019:
Unknown module(s) in QT: webengine
For Qt 6.2, change
webengine
->webenginequick
. (This should've been documented better)However, QTWebEngine example the following error occurs only in VS 2019
(Qt Creator normally)Can you please submit a bug report to https://bugreports.qt.io/ ?