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
Forum Updated to NodeBB v4.3 + New Features

Cannot find module QWebView

Scheduled Pinned Locked Moved Unsolved QtWebEngine
15 Posts 3 Posters 2.1k 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 12 Mar 2022, 13:55 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 26 Mar 2022, 22:07
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 12 Mar 2022, 20:16 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 13 Mar 2022, 09:04
      0
      • S SGaist
        12 Mar 2022, 20:16

        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 13 Mar 2022, 09:04 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 13 Mar 2022, 20:17 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 16 Mar 2022, 12:44
          0
          • S SGaist
            13 Mar 2022, 20:17

            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 16 Mar 2022, 12:44 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
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 16 Mar 2022, 20:22 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 18 Mar 2022, 10:34
              0
              • S SGaist
                16 Mar 2022, 20:22

                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 18 Mar 2022, 10:34 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 18 Mar 2022, 13:07
                0
                • L Linuxisgood
                  18 Mar 2022, 10:34

                  @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 18 Mar 2022, 13:07 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
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 18 Mar 2022, 20:43 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 18 Mar 2022, 20:49
                    0
                    • S SGaist
                      18 Mar 2022, 20:43

                      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 18 Mar 2022, 20:49 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
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 18 Mar 2022, 22:03 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 19 Mar 2022, 10:01
                        0
                        • S SGaist
                          18 Mar 2022, 22:03

                          Use the full path to the executable.

                          L Offline
                          L Offline
                          Linuxisgood
                          wrote on 19 Mar 2022, 10:01 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
                          • S Offline
                            S Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on 19 Mar 2022, 20:54 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
                              12 Mar 2022, 13:55

                              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 26 Mar 2022, 22:07 last edited by
                              #14

                              @Linuxisgood Do you use windows as your operating system?

                              L 1 Reply Last reply 3 Apr 2022, 09:35
                              0
                              • G gouneken
                                26 Mar 2022, 22:07

                                @Linuxisgood Do you use windows as your operating system?

                                L Offline
                                L Offline
                                Linuxisgood
                                wrote on 3 Apr 2022, 09:35 last edited by Linuxisgood 4 Mar 2022, 09:35
                                #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