Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. WebKit and WebEngine not found in Qt 5.7
QtWS25 Last Chance

WebKit and WebEngine not found in Qt 5.7

Scheduled Pinned Locked Moved Solved QtWebEngine
qtwebkitqt5.7installation a
11 Posts 2 Posters 10.8k Views
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi and welcome to devnet,

    For the QtWebKit module, you'll have to compile it by hand from sources. It's been deprecated in Qt 5.5 and remove from the pre-built package in 5.6. However you can still get it from sources.

    As for the QtWebEngine module, AFAIK, on windows you need VisualStudio 2015. That's not a Qt requirement but Chromium.

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    1
    • FaridsarlF Offline
      FaridsarlF Offline
      Faridsarl
      wrote on last edited by
      #3

      Thank for your answer.
      I have never used Visual Studio. I prefer to compile QtWebkit from source. But I don't know how to do that ? Can you tell what to do ?

      Else, if I want to use Visual Studio, I have to compile the project inside ?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #4

        If you get the sources from the installer, you can open it in Qt Creator and build it the same way as any project.

        No you don't, you can still use Qt Creator. The VS IDE is not needed at all.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • FaridsarlF Offline
          FaridsarlF Offline
          Faridsarl
          wrote on last edited by
          #5

          Thank
          But what will be the consequences on the deployment if I use WebEngine with VS 2015 installed?

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #6

            You'll deploy your application with the VS2015 version of Qt in place of the MinGW version.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1
            • FaridsarlF Offline
              FaridsarlF Offline
              Faridsarl
              wrote on last edited by
              #7

              Hi @SGaist

              I have installed the mvs2015 from the Qt installer. I have also installed the Visual C++ Compiler 2015. I no longer get the error : Project ERROR: Unknown module(s) in QT: webengine but when I try to include #include <qtwebengineglobal.h> or import QtWebEngine 1.0, I get this error : No such file or directory

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #8

                Did you do a full rebuild of your project ?

                Also, it should rather be #include <QtWebEngineGlobal>

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                1
                • FaridsarlF Offline
                  FaridsarlF Offline
                  Faridsarl
                  wrote on last edited by
                  #9

                  Thank @SGaist, it work now
                  But i get some error when I run the project (very minimal code) :

                  [0623/090553:ERROR:texture_manager.cc(2278)] [.CommandBufferContext.RenderCompositor-0446EC80]GL ERROR :GL_INVALID_ENUM : glTexImage2D: <- error from previous GL command
                  [0623/090553:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0446EF60]GL ERROR :GL_INVALID_ENUM : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command
                  

                  But the project run

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    Sorry, that part I can't help you with. Looks like the error comes from Chromium itself.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • FaridsarlF Offline
                      FaridsarlF Offline
                      Faridsarl
                      wrote on last edited by
                      #11

                      Ok. Thanks for all.

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved