Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Project ERROR: Unknown module(s) in QT: webkitwidgets
Forum Updated to NodeBB v4.3 + New Features

Project ERROR: Unknown module(s) in QT: webkitwidgets

Scheduled Pinned Locked Moved Solved General and Desktop
31 Posts 3 Posters 38.7k Views 1 Watching
  • 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.
  • mrjjM mrjj

    @Cobra91151
    Ok, i assume it would be precompiled as else no reason for compiler versions.

    • It seems I have circular include QtWebView but I included it only once. It's strange.

    You can turn on Include view and see if something shows up
    alt text

    Cobra91151C Offline
    Cobra91151C Offline
    Cobra91151
    wrote on last edited by Cobra91151
    #11

    @mrjj

    My includes screenshot:

    0_1504379887391_2017-09-02_221614.png

    Maybe this project has (https://github.com/annulen/webkit/releases) circular include, or bugs in the code.
    Also I have downloaded qtwebview-opensource-src-5.7.1 from official Qt source. But I don't know where to install it? Is there any documentation link how to install submodules? Thanks.

    mrjjM 1 Reply Last reply
    0
    • Cobra91151C Cobra91151

      @mrjj

      My includes screenshot:

      0_1504379887391_2017-09-02_221614.png

      Maybe this project has (https://github.com/annulen/webkit/releases) circular include, or bugs in the code.
      Also I have downloaded qtwebview-opensource-src-5.7.1 from official Qt source. But I don't know where to install it? Is there any documentation link how to install submodules? Thanks.

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #12

      @Cobra91151 said in Project ERROR: Unknown module(s) in QT: webkitwidgets:

      But I don't know where to install it? Is there any documentation link how to install submodules? Thanks.

      Hi, normally you would do
      qmake
      make
      make install

      for such a source zip

      Cobra91151C 2 Replies Last reply
      1
      • mrjjM mrjj

        @Cobra91151 said in Project ERROR: Unknown module(s) in QT: webkitwidgets:

        But I don't know where to install it? Is there any documentation link how to install submodules? Thanks.

        Hi, normally you would do
        qmake
        make
        make install

        for such a source zip

        Cobra91151C Offline
        Cobra91151C Offline
        Cobra91151
        wrote on last edited by
        #13

        @mrjj

        I will try it. Thanks.

        1 Reply Last reply
        0
        • mrjjM mrjj

          @Cobra91151 said in Project ERROR: Unknown module(s) in QT: webkitwidgets:

          But I don't know where to install it? Is there any documentation link how to install submodules? Thanks.

          Hi, normally you would do
          qmake
          make
          make install

          for such a source zip

          Cobra91151C Offline
          Cobra91151C Offline
          Cobra91151
          wrote on last edited by Cobra91151
          #14

          @mrjj

          I get 'qmake' is not recognized as an internal or external command, operable program or batch file. when running on qtwebview-opensource-src-5.7.1 (Developer Command Prompt for VS2015)?

          I have these files after extraction from archive:

          0_1504441548484_2017-09-03_152519.png

          Should I copy these files to the path: C:\Qt\5.7\Src\qtbase and qmake
          make
          make install?

          Cobra91151C 1 Reply Last reply
          0
          • Cobra91151C Cobra91151

            @mrjj

            I get 'qmake' is not recognized as an internal or external command, operable program or batch file. when running on qtwebview-opensource-src-5.7.1 (Developer Command Prompt for VS2015)?

            I have these files after extraction from archive:

            0_1504441548484_2017-09-03_152519.png

            Should I copy these files to the path: C:\Qt\5.7\Src\qtbase and qmake
            make
            make install?

            Cobra91151C Offline
            Cobra91151C Offline
            Cobra91151
            wrote on last edited by
            #15

            @Cobra91151

            I have reinstall Qt 5.7.1 and my .pro include is QT += widgets core gui network webview concurrent

            test.h
            #include <QtWebView>

            But the error is the same when initialize QtWebView *mapBrowserView;

            QtWebView is not the class, it is the namespace, image:

            0_1504444228036_2017-09-03_160851.png

            1 Reply Last reply
            0
            • Cobra91151C Offline
              Cobra91151C Offline
              Cobra91151
              wrote on last edited by
              #16

              Now I have figured it out - Qt WebView provides a way to display web content in a QML application but I'm developing Win API application only for Windows OS. So it will not work.

              1 Reply Last reply
              0
              • Cobra91151C Offline
                Cobra91151C Offline
                Cobra91151
                wrote on last edited by
                #17

                So here is how I have fixed it:

                1. Copy the contents of the archive qtwebkit_tp4_qt57_msvc2015_x86.zip to C:\Qt\5.7\msvc2015;
                2. Include webkitwidgets to .pro file;
                3. Include #include <QtWebKitWidgets/QWebView>
                4. Initialized the QWebView *mapBrowserView; object;

                Now it's all compile and work.

                1 Reply Last reply
                1
                • V Offline
                  V Offline
                  vadak
                  wrote on last edited by
                  #18

                  @Cobra91151 Hi i also face same issue, you have any Qtwebkitwidgets install setup document?

                  V 1 Reply Last reply
                  0
                  • V vadak

                    @Cobra91151 Hi i also face same issue, you have any Qtwebkitwidgets install setup document?

                    V Offline
                    V Offline
                    vadak
                    wrote on last edited by
                    #19

                    @vadak Hi @mrjj ,i am facing one issue related to QT:webkitwidgets unknown module ,please help to solve this issue and now i am using QT5.7 and OS windows10 and i downloaded qtwebkit_tp4_qt57_msvc2015_x64.zip .
                    any setup document need for this? i am new to QT.

                    mrjjM 1 Reply Last reply
                    0
                    • V vadak

                      @vadak Hi @mrjj ,i am facing one issue related to QT:webkitwidgets unknown module ,please help to solve this issue and now i am using QT5.7 and OS windows10 and i downloaded qtwebkit_tp4_qt57_msvc2015_x64.zip .
                      any setup document need for this? i am new to QT.

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #20

                      @vadak

                      Hi
                      Did you try to copy as Cobra91151 wrote ?

                      As far as I know there is no extra documentation available.

                      1 Reply Last reply
                      0
                      • V Offline
                        V Offline
                        vadak
                        wrote on last edited by
                        #21

                        @mrjj,no i am not copying anythink from @Cobra91151 ,and i also faceing same issue but i don't know how to add qtwebkit_tp4_qt57_msvc2015_x64.zip to my Qt5.7 MSVC2015 compiler.

                        1 Reply Last reply
                        0
                        • mrjjM Offline
                          mrjjM Offline
                          mrjj
                          Lifetime Qt Champion
                          wrote on last edited by
                          #22

                          So you didnt try like he wrote ?

                          V 1 Reply Last reply
                          0
                          • mrjjM mrjj

                            So you didnt try like he wrote ?

                            V Offline
                            V Offline
                            vadak
                            wrote on last edited by
                            #23

                            @mrjj yes

                            1 Reply Last reply
                            0
                            • mrjjM Offline
                              mrjjM Offline
                              mrjj
                              Lifetime Qt Champion
                              wrote on last edited by
                              #24

                              Ok but you should to that then.
                              and dont forget to run qmake from build menu when you change the .pro file.

                              1 Reply Last reply
                              0
                              • V Offline
                                V Offline
                                vadak
                                wrote on last edited by
                                #25

                                so i need copy this qtwebkit_tp4_qt57_msvc2015_x86.zip to C:\Qt\5.7\msvc2015; to qtbase is enough and i need following below step is enough? . and i will give qmake ?.

                                Copy the contents of the archive qtwebkit_tp4_qt57_msvc2015_x86.zip to C:\Qt\5.7\msvc2015;
                                Include webkitwidgets to .pro file;
                                Include #include <QtWebKitWidgets/QWebView>
                                Initialized the QWebView *mapBrowserView; object;

                                mrjjM 1 Reply Last reply
                                0
                                • V vadak

                                  so i need copy this qtwebkit_tp4_qt57_msvc2015_x86.zip to C:\Qt\5.7\msvc2015; to qtbase is enough and i need following below step is enough? . and i will give qmake ?.

                                  Copy the contents of the archive qtwebkit_tp4_qt57_msvc2015_x86.zip to C:\Qt\5.7\msvc2015;
                                  Include webkitwidgets to .pro file;
                                  Include #include <QtWebKitWidgets/QWebView>
                                  Initialized the QWebView *mapBrowserView; object;

                                  mrjjM Offline
                                  mrjjM Offline
                                  mrjj
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #26

                                  @vadak

                                  Why not try it. ? ( i have not)

                                  He says to unpack the zip to that location (Copy the contents ). not copy whole zip file.
                                  he says it then worked for him.
                                  And after you alter your .pro file, you must run qmake from build menu.

                                  1 Reply Last reply
                                  1
                                  • V Offline
                                    V Offline
                                    vadak
                                    wrote on last edited by
                                    #27

                                    @mrjj issue is resolved ,thanks for your support.

                                    mrjjM 1 Reply Last reply
                                    1
                                    • V vadak

                                      @mrjj issue is resolved ,thanks for your support.

                                      mrjjM Offline
                                      mrjjM Offline
                                      mrjj
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #28

                                      @vadak

                                      so how did you fix it ?
                                      you had to do more than what was explained here ?

                                      1 Reply Last reply
                                      1
                                      • V Offline
                                        V Offline
                                        vadak
                                        wrote on last edited by
                                        #29

                                        @mrjj,what ever step you told that only i followed(above conversation) and my late replay, nextday onwards i fixed this issue.

                                        mrjjM 1 Reply Last reply
                                        1
                                        • V vadak

                                          @mrjj,what ever step you told that only i followed(above conversation) and my late replay, nextday onwards i fixed this issue.

                                          mrjjM Offline
                                          mrjjM Offline
                                          mrjj
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #30

                                          @vadak
                                          ok super. so should work for other too.

                                          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