Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved How to use QWebEngineView module in his project?

    Installation and Deployment
    webkit c++ qt qt creator
    2
    4
    209
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gouneken 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 :

      f6d3e6d6-8f1a-4de7-a0c8-26985ad0203a-image.png

      JonB 1 Reply Last reply Reply Quote 0
      • JonB
        JonB @gouneken last edited by

        @gouneken
        Depending on your platform and how you installed Qt, I believe QtWebEngineWidgets is an optional module. Are you sure it is installed?

        G 1 Reply Last reply Reply Quote 0
        • G
          gouneken @JonB 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.

          G 1 Reply Last reply Reply Quote 0
          • G
            gouneken @gouneken last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • First post
              Last post