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. Cannot find module QWebView
Qt 6.11 is out! See what's new in the release blog

Cannot find module QWebView

Scheduled Pinned Locked Moved Unsolved QtWebEngine
15 Posts 3 Posters 4.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.
  • L Offline
    L Offline
    Linuxisgood
    wrote on last edited by
    #1

    Hello, i get an error when i try to use qwebengine or anything like that. If i try to add them in my .pro file i get an error telling me i dont have that module(im new to qt):

    :-1: Error: Unknown module(s) in QT: webview webengine webenginewidgets
    

    I tried to install it in the maintenance tool, it didn't work.
    But the strange thing is that in designer i can find it (btw im on fedora linux 35) i can see QWebView in the list and i actually can use it but in creator i cant find it.

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

      Hi and welcome to devnet,

      Which version of Qt would that be ?
      What failed when you installed QtWebEngine ?

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

      L 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Which version of Qt would that be ?
        What failed when you installed QtWebEngine ?

        L Offline
        L Offline
        Linuxisgood
        wrote on last edited by Linuxisgood
        #3

        @SGaist When i open designer it says Qt 5 Designer, In creator it says 6.2
        nothing failed, it just didnt show up in creator
        and if i try to open the ui file i did in designer in creator it just doesnt work, it says its QtWebView but its just blank even if i set the url, in designer it works perfectly fine

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

          Then it's even more important that you check which version of Qt you are using. It's seems you might be mixing Qt 5 and Qt 6 and not have a full install of one of the two.

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

          L 1 Reply Last reply
          0
          • SGaistS SGaist

            Then it's even more important that you check which version of Qt you are using. It's seems you might be mixing Qt 5 and Qt 6 and not have a full install of one of the two.

            L Offline
            L Offline
            Linuxisgood
            wrote on last edited by
            #5

            @SGaist Then how can i install QWebEngine for Qt 6? i alredy checked the QWebEngine on qt 6.2 in the maintanance tool

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

              How are you starting designer ?
              It has been integrated in Qt Creator for a long time so no real need to start an external application.

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

              L 1 Reply Last reply
              0
              • SGaistS SGaist

                How are you starting designer ?
                It has been integrated in Qt Creator for a long time so no real need to start an external application.

                L Offline
                L Offline
                Linuxisgood
                wrote on last edited by
                #7

                @SGaist I just reinstalled qt and installed some QWebEngine libraries. after i had a fresh reinstall there was a Qt Designer. After i installed the Libraries there was a Qt Designer 5. Only Qt Designer 5 had thoose widgets (QWebEngine) i installed in the maintanence tool are ONLY shown in Qt Designer 5 if i launch creator from the fresh installation it sayed the version was 6.0.2 but there was No QWebEngine even though i installed it in the maintanance tool (Qt->Qt 5-> QWebEngine [Checked]) I Start designer in the menu from fedora 35.

                L 1 Reply Last reply
                0
                • L Linuxisgood

                  @SGaist I just reinstalled qt and installed some QWebEngine libraries. after i had a fresh reinstall there was a Qt Designer. After i installed the Libraries there was a Qt Designer 5. Only Qt Designer 5 had thoose widgets (QWebEngine) i installed in the maintanence tool are ONLY shown in Qt Designer 5 if i launch creator from the fresh installation it sayed the version was 6.0.2 but there was No QWebEngine even though i installed it in the maintanance tool (Qt->Qt 5-> QWebEngine [Checked]) I Start designer in the menu from fedora 35.

                  L Offline
                  L Offline
                  Linuxisgood
                  wrote on last edited by
                  #8

                  @Linuxisgood Wait now i noticed, i tried installing qt charts (for an other project) and i installed it and even it didnt show up (Qt cannot find module charts) I installed EVERYTHING trough the maintanance tool also qt itself but the error comes.

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

                    Can you test that one the command line, ensuring that you use the qmake executable that matches the Qt version that you want to use ?

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

                    L 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Can you test that one the command line, ensuring that you use the qmake executable that matches the Qt version that you want to use ?

                      L Offline
                      L Offline
                      Linuxisgood
                      wrote on last edited by
                      #10

                      @SGaist when i type QMake it says it coudnld find it, if i type qt-creator or something simellar hes asking me to install it even though i have it

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

                        Use the full path to the executable.

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

                        L 1 Reply Last reply
                        0
                        • SGaistS SGaist

                          Use the full path to the executable.

                          L Offline
                          L Offline
                          Linuxisgood
                          wrote on last edited by Linuxisgood
                          #12

                          @SGaist I Tried searching in /bin and i found qmake-qt5 i guess its qt5 and creator is 6.2. Also in the bin folder was only designer5 no creator

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

                            You installed Qt using the online installer. It's all in the folder where the installation happened.

                            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
                            • L Linuxisgood

                              Hello, i get an error when i try to use qwebengine or anything like that. If i try to add them in my .pro file i get an error telling me i dont have that module(im new to qt):

                              :-1: Error: Unknown module(s) in QT: webview webengine webenginewidgets
                              

                              I tried to install it in the maintenance tool, it didn't work.
                              But the strange thing is that in designer i can find it (btw im on fedora linux 35) i can see QWebView in the list and i actually can use it but in creator i cant find it.

                              G Offline
                              G Offline
                              gouneken
                              wrote on last edited by
                              #14

                              @Linuxisgood Do you use windows as your operating system?

                              L 1 Reply Last reply
                              0
                              • G gouneken

                                @Linuxisgood Do you use windows as your operating system?

                                L Offline
                                L Offline
                                Linuxisgood
                                wrote on last edited by Linuxisgood
                                #15

                                @gouneken No, Linux ( Fedora 35 )

                                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