How to use QWebEngineView module in his project?
-
wrote on 19 Feb 2022, 23:04 last edited by
good evening, I'm working on a web browser project, I was asked to use the "QWebKit" class to be able to set up this project, but my IDE (Qt Creator) was writing an error message saying that the file is not found. Then I was asked to include "QWebView" but same problem, then to include "QWebEngineView" instead and write to my .pro file "QT += webenginewidgets " to import the module and according to the documentation it is apparently that class which is up to date but when i include it same error yet it should be used in my version of qt (namely qt 6.2.1) i don't know where the error is, here is a picture of my .pro file :
-
good evening, I'm working on a web browser project, I was asked to use the "QWebKit" class to be able to set up this project, but my IDE (Qt Creator) was writing an error message saying that the file is not found. Then I was asked to include "QWebView" but same problem, then to include "QWebEngineView" instead and write to my .pro file "QT += webenginewidgets " to import the module and according to the documentation it is apparently that class which is up to date but when i include it same error yet it should be used in my version of qt (namely qt 6.2.1) i don't know where the error is, here is a picture of my .pro file :
-
@gouneken
Depending on your platform and how you installed Qt, I believe QtWebEngineWidgets is an optional module. Are you sure it is installed?wrote on 21 Feb 2022, 21:04 last edited by gouneken@JonBI don't know if that's the problem, but I downloaded the QWebView module using the maintenance tool but still QtCreator does not recognize it as an existing module.
-
@JonBI don't know if that's the problem, but I downloaded the QWebView module using the maintenance tool but still QtCreator does not recognize it as an existing module.
wrote on 21 Feb 2022, 21:08 last edited byThis post is deleted!
4/4