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. Webengine example fail with "Unknown module(s) in QT: webengine"
Forum Update on Monday, May 27th 2025

Webengine example fail with "Unknown module(s) in QT: webengine"

Scheduled Pinned Locked Moved Solved QtWebEngine
windows 7
34 Posts 11 Posters 60.1k 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.
  • S SGaist
    14 Feb 2017, 10:38

    The QtWebEngine platform notes explain what is needed to build the module.

    QtWebEngine is using the Chromium project as backend so it depends on what platform they support. If you would like to have a MinGW build of QtWebEngine then you should rather push this to the Chromium project.

    On a side note, there's @Konstantin-Tokarev QtWebKit reboot project that might interest you.

    P Offline
    P Offline
    PSI_lbc
    wrote on 14 Feb 2017, 18:46 last edited by
    #16

    @SGaist

    Thx for the reply. I made a mistake downloading the open source install.
    I am now using: qt-unified-windows-x86-2.0.5-online.exe...and have a current Commercial License for Application Development..all handheld and desktop environments are covered.

    I tried installing Qt5.7.1 for MinGW but there were no QtWebEngine libraries.
    I tried installing Qt5.7.1 for MSVC2015 and it had the QtWebEngine libraries, but no compiler.

    I am now re-installing 5.8, 5.7, and 5.6. Maybe one of those will have the libraries I need.

    P 1 Reply Last reply 14 Feb 2017, 20:01
    0
    • K Konstantin Tokarev
      14 Feb 2017, 10:42

      Note that we provide QtWebKit TP5 binaries compatible with official Qt 5.8.0 MinGW build: https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5

      P Offline
      P Offline
      PSI_lbc
      wrote on 14 Feb 2017, 18:50 last edited by
      #17

      @Konstantin-Tokarev

      Thx for the heads up.

      Are the 5.8/Webkit binaries also available for MacOS-clang64 environments?

      K 1 Reply Last reply 14 Feb 2017, 19:00
      0
      • P PSI_lbc
        14 Feb 2017, 18:50

        @Konstantin-Tokarev

        Thx for the heads up.

        Are the 5.8/Webkit binaries also available for MacOS-clang64 environments?

        K Offline
        K Offline
        Konstantin Tokarev
        wrote on 14 Feb 2017, 19:00 last edited by
        #18

        @PSI_lbc Yeah, see the same link. Also there are binaries for 64-bit Linux and VS 2015 (both 32-bit and 64-bit)

        M P 2 Replies Last reply 14 Feb 2017, 19:02
        1
        • K Konstantin Tokarev
          14 Feb 2017, 19:00

          @PSI_lbc Yeah, see the same link. Also there are binaries for 64-bit Linux and VS 2015 (both 32-bit and 64-bit)

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 14 Feb 2017, 19:02 last edited by
          #19

          @Konstantin-Tokarev
          Thank you for all your work. its a huge task for a beginner to build webkit so your project
          is very welcome.

          K 1 Reply Last reply 14 Feb 2017, 19:33
          0
          • M mrjj
            14 Feb 2017, 19:02

            @Konstantin-Tokarev
            Thank you for all your work. its a huge task for a beginner to build webkit so your project
            is very welcome.

            K Offline
            K Offline
            Konstantin Tokarev
            wrote on 14 Feb 2017, 19:33 last edited by
            #20

            @mrjj As for these binary packages, credits go to CI infrastructure of The Qt Company, and personally to Simon Hausmann who helped a lot with integration of new QtWebKit's build system into Coin.

            Also credits go to Vitaly Slobodin and other contributors of revived QtWebKit, who contributed lots of patches enhancing Windows and macOS support. Without them, it could happen that only Linux would be supported.

            1 Reply Last reply
            1
            • P PSI_lbc
              14 Feb 2017, 18:46

              @SGaist

              Thx for the reply. I made a mistake downloading the open source install.
              I am now using: qt-unified-windows-x86-2.0.5-online.exe...and have a current Commercial License for Application Development..all handheld and desktop environments are covered.

              I tried installing Qt5.7.1 for MinGW but there were no QtWebEngine libraries.
              I tried installing Qt5.7.1 for MSVC2015 and it had the QtWebEngine libraries, but no compiler.

              I am now re-installing 5.8, 5.7, and 5.6. Maybe one of those will have the libraries I need.

              P Offline
              P Offline
              PSI_lbc
              wrote on 14 Feb 2017, 20:01 last edited by
              #21

              @PSI_lbc

              Qt 5.7.1 Reference Documentation
              Contents
              Functions
              Detailed Description
              QtWebView Namespace
              The QtWebView namespace provides functions that makes it easier to set-up and use the WebView. More...
              Header:
              #include <QtWebView>
              qmake:
              QT += webview

              Docs say it's there but it isn't. This is after a fresh install of 5.8,5.7 MinGW53_32 and 5.6 MinGW49_32

              K 1 Reply Last reply 14 Feb 2017, 21:54
              0
              • K Konstantin Tokarev
                14 Feb 2017, 19:00

                @PSI_lbc Yeah, see the same link. Also there are binaries for 64-bit Linux and VS 2015 (both 32-bit and 64-bit)

                P Offline
                P Offline
                PSI_lbc
                wrote on 14 Feb 2017, 20:06 last edited by
                #22

                @Konstantin-Tokarev

                Do you know if the 5.8/Webkit binaries support a mix of HTML and JavaScript on the same page?

                A real ancient version of WebKit I was using in Qt4.7.2 did not...which is what has prompted my attempted upgrade to Qt5x/WebEngine.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 14 Feb 2017, 20:27 last edited by
                  #23

                  Like written in the documentation I linked, QtWebEngine is not available with MinGW for the reason I have already given.

                  As for Visual Studio, yes, it's up to you to install it. It has always been the case. Microsoft doesn't allow any third party to bundle its development suits.

                  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
                  • P PSI_lbc
                    14 Feb 2017, 20:01

                    @PSI_lbc

                    Qt 5.7.1 Reference Documentation
                    Contents
                    Functions
                    Detailed Description
                    QtWebView Namespace
                    The QtWebView namespace provides functions that makes it easier to set-up and use the WebView. More...
                    Header:
                    #include <QtWebView>
                    qmake:
                    QT += webview

                    Docs say it's there but it isn't. This is after a fresh install of 5.8,5.7 MinGW53_32 and 5.6 MinGW49_32

                    K Offline
                    K Offline
                    Konstantin Tokarev
                    wrote on 14 Feb 2017, 21:54 last edited by
                    #24

                    @PSI_lbc said in Windows 7 Webengine example fail with "Unknown module(s) in QT: webengine":

                    Docs say it's there but it isn't. This is after a fresh install of 5.8,5.7 MinGW53_32 and 5.6 MinGW49_32

                    You need to install Qt 5.8.0 and extract QtWebKit binaries that you can download from link that I've posted above.

                    @PSI_lbc said in Windows 7 Webengine example fail with "Unknown module(s) in QT: webengine":

                    Do you know if the 5.8/Webkit binaries support a mix of HTML and JavaScript on the same page?

                    Of course, yes!

                    1 Reply Last reply
                    1
                    • X Offline
                      X Offline
                      xeoshow
                      wrote on 20 Nov 2017, 16:35 last edited by
                      #25

                      Is there any stable binary release for qt 5.9.2 now?
                      Thanks a lot!

                      Best regards, Jason

                      M 1 Reply Last reply 20 Nov 2017, 16:42
                      0
                      • X xeoshow
                        20 Nov 2017, 16:35

                        Is there any stable binary release for qt 5.9.2 now?
                        Thanks a lot!

                        Best regards, Jason

                        M Offline
                        M Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on 20 Nov 2017, 16:42 last edited by
                        #26

                        @xeoshow
                        Hi
                        I think its still alpha
                        https://github.com/annulen/webkit/releases

                        1 Reply Last reply
                        0
                        • X Offline
                          X Offline
                          xeoshow
                          wrote on 21 Nov 2017, 03:45 last edited by
                          #27

                          @mrjj said in Windows 7 Webengine example fail with "Unknown module(s) in QT: webengine":

                          @xeoshow
                          Hi
                          I think its still alpha
                          https://github.com/annulen/webkit/releases

                          I am still using the qt 5.5.1 mingw version, and using the default webview in that QT version. One BIG problem I met is memory leak seems still in qt 5.5.1 mingw version ...

                          Is the memory leak problem resolved in the qtwebkit-tp5-qt58-mingw530-x86.zip or qtwebkit-5.212.0_alpha2-qt59-mingw530-x86.zip from https://github.com/annulen/webkit/releases ?

                          K 1 Reply Last reply 21 Nov 2017, 11:40
                          0
                          • X Offline
                            X Offline
                            xeoshow
                            wrote on 21 Nov 2017, 06:06 last edited by
                            #28

                            I just tried qt-opensource-windows-x86-mingw530-5.8.0.exe and qtwebkit-tp5-qt58-mingw530-x86.zip, For one of my project works well with qt 5.5.1 mingw, now got below error when compiling, anything I should modify? Or anything missing?

                            Thanks a lot!

                            Best regards, Jason

                            D:/Qt/Qt5.8.0/Tools/mingw530_32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lQt5WebKitWidgetsd
                            D:/Qt/Qt5.8.0/Tools/mingw530_32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lQt5WebKitd
                            collect2.exe: error: ld returned 1 exit status
                            Makefile.Debug:77: recipe for target 'debug/xc-browser.exe' failed
                            mingw32-make[1]: Leaving directory 'D:/gitrepository/xc/build-xc-browser-desktop-Desktop_Qt_5_8_0_MinGW_32bit-Debug'
                            mingw32-make[1]: *** [debug/xc-browser.exe] Error 1
                            Makefile:34: recipe for target 'debug' failed
                            mingw32-make: *** [debug] Error 2
                            13:35:42: Process"D:\Qt\Qt5.8.0\Tools\mingw530_32\bin\mingw32-make.exe"exit,exit code 2 。
                            Error while building/deploying project xc-browser-desktop (kit: Desktop Qt 5.8.0 MinGW 32bit)
                            When executing step "Make"
                            13:35:42: Elapsed time: 00:34.
                            
                            1 Reply Last reply
                            0
                            • X Offline
                              X Offline
                              xeoshow
                              wrote on 21 Nov 2017, 06:12 last edited by
                              #29

                              What I am talking about the memory leak, is something as below:

                              https://forum.qt.io/topic/10832/memory-size-increases-per-page-load/13

                              1 Reply Last reply
                              0
                              • X xeoshow
                                21 Nov 2017, 03:45

                                @mrjj said in Windows 7 Webengine example fail with "Unknown module(s) in QT: webengine":

                                @xeoshow
                                Hi
                                I think its still alpha
                                https://github.com/annulen/webkit/releases

                                I am still using the qt 5.5.1 mingw version, and using the default webview in that QT version. One BIG problem I met is memory leak seems still in qt 5.5.1 mingw version ...

                                Is the memory leak problem resolved in the qtwebkit-tp5-qt58-mingw530-x86.zip or qtwebkit-5.212.0_alpha2-qt59-mingw530-x86.zip from https://github.com/annulen/webkit/releases ?

                                K Offline
                                K Offline
                                Konstantin Tokarev
                                wrote on 21 Nov 2017, 11:40 last edited by
                                #30

                                @xeoshow said in Windows 7 Webengine example fail with "Unknown module(s) in QT: webengine":

                                Is the memory leak problem resolved in the qtwebkit-tp5-qt58-mingw530-x86.zip or qtwebkit-5.212.0_alpha2-qt59-mingw530-x86.zip

                                Please try it out, IIRC I couldn't reproduce that issue.

                                Also, don't use QWebSettings::setObjectCacheCapacities(0,0,0), this indeed was causing leaks in the old versions, and WebKit isn't really tuned or even tested to operate with no cache at all.

                                X 1 Reply Last reply 21 Nov 2017, 12:37
                                0
                                • K Konstantin Tokarev
                                  21 Nov 2017, 11:40

                                  @xeoshow said in Windows 7 Webengine example fail with "Unknown module(s) in QT: webengine":

                                  Is the memory leak problem resolved in the qtwebkit-tp5-qt58-mingw530-x86.zip or qtwebkit-5.212.0_alpha2-qt59-mingw530-x86.zip

                                  Please try it out, IIRC I couldn't reproduce that issue.

                                  Also, don't use QWebSettings::setObjectCacheCapacities(0,0,0), this indeed was causing leaks in the old versions, and WebKit isn't really tuned or even tested to operate with no cache at all.

                                  X Offline
                                  X Offline
                                  xeoshow
                                  wrote on 21 Nov 2017, 12:37 last edited by
                                  #31

                                  @Konstantin-Tokarev said in Windows 7 Webengine example fail with "Unknown module(s) in QT: webengine":

                                  @PSI_lbc said in Windows 7 Webengine example fail with "Unknown module(s) in QT: webengine":

                                  Docs say it's there but it isn't. This is after a fresh install of 5.8,5.7 MinGW53_32 and 5.6 MinGW49_32

                                  You need to install Qt 5.8.0 and extract QtWebKit binaries that you can download from link that I've posted above.

                                  @PSI_lbc said in Windows 7 Webengine example fail with "Unknown module(s) in QT: webengine":

                                  Do you know if the 5.8/Webkit binaries support a mix of HTML and JavaScript on the same page?

                                  Of course, yes!

                                  @Konstantin-Tokarev said in Windows 7 Webengine example fail with "Unknown module(s) in QT: webengine":

                                  @xeoshow said in Windows 7 Webengine example fail with "Unknown module(s) in QT: webengine":

                                  Is the memory leak problem resolved in the qtwebkit-tp5-qt58-mingw530-x86.zip or qtwebkit-5.212.0_alpha2-qt59-mingw530-x86.zip

                                  Please try it out, IIRC I couldn't reproduce that issue.

                                  Also, don't use QWebSettings::setObjectCacheCapacities(0,0,0), this indeed was causing leaks in the old versions, and WebKit isn't really tuned or even tested to operate with no cache at all.

                                  Thanks for kind help, OK, I will try it out and report back.

                                  BTW, is there any estimate target date for the beta or stable version? Thanks again.

                                  Best regards, Jason

                                  1 Reply Last reply
                                  0
                                  • X Offline
                                    X Offline
                                    xeoshow
                                    wrote on 23 Nov 2017, 02:33 last edited by
                                    #32

                                    Hello @Konstantin-Tokarev ,

                                    I tried with 5.8.0 and 5.9.2 and your corresponding release of QtWebKit, seems still the same symptom, the memory will keep increasing if I refresh the page repeatedly.

                                    BTW, the html pages I used are generated via vuejs, is that OK?

                                    Thanks a lot.

                                    Best regards, Jason

                                    1 Reply Last reply
                                    0
                                    • O Offline
                                      O Offline
                                      omagaldadze
                                      wrote on 3 Mar 2019, 14:58 last edited by
                                      #33

                                      It now says Qt Webengine component is only supported for MSVC 2017, took me a while to figure out.

                                      1 Reply Last reply
                                      1
                                      • osirisgothraO Offline
                                        osirisgothraO Offline
                                        osirisgothra
                                        wrote on 6 Dec 2024, 22:54 last edited by
                                        #34

                                        still think the components that are used in examples should be included by default or at least if nothing else warned that you wont be able to do some examples unless you have them (in the right places mind you, not tucked away in some weird documentation). It would also be nice if there is gonna be typing completion in qmake, cmake, etc., that it actually be contextual to the syntax of those items and not just spit out seemingly random tags most of which don't have anything to do with said files... even better, maybe include at least the headers that way you know for sure you are missing the library instead of ghostin' the whole kit'n'kaboodle.

                                        I'm truly glad you r/offmychess t finally, but please don't go too far, because you r/beyondvoxels and that implies that u r/donewithlife. Oh well time to git back to the lab, because azure sea here, I have a lot of work to do...

                                        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