Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. No WebView plug-in found!
Forum Updated to NodeBB v4.3 + New Features

No WebView plug-in found!

Scheduled Pinned Locked Moved Solved Qt WebKit
18 Posts 7 Posters 9.8k Views 2 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.
  • K Offline
    K Offline
    Konstantin Tokarev
    wrote on last edited by
    #5

    Did you enable QtWebEngine module when installing Qt?

    KarwanK 1 Reply Last reply
    0
    • SGaistS SGaist

      Can you check whether you have the QtWebView libraries in your installation ?

      KarwanK Offline
      KarwanK Offline
      Karwan
      wrote on last edited by
      #6

      @SGaist i checked C:\Qt\Qt5.12.0\5.12.0\msvc2017_64\lib
      there's the libraries of QtWebView.
      i tried to import it but it didn't work!

      1 Reply Last reply
      0
      • K Konstantin Tokarev

        Did you enable QtWebEngine module when installing Qt?

        KarwanK Offline
        KarwanK Offline
        Karwan
        wrote on last edited by
        #7

        @Konstantin-Tokarev yes , :)

        1 Reply Last reply
        0
        • SGaistS SGaist

          Can you check whether you have the QtWebView libraries in your installation ?

          KarwanK Offline
          KarwanK Offline
          Karwan
          wrote on last edited by
          #8

          @SGaist When i add QtWebView::initialize(); , it show me this error
          Error -
          RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly
          and it tells me that the qtwebviewfunctions.cpp Line 65 and just showing this in the output : Q_ASSERT(plugin);

          1 Reply Last reply
          0
          • SGaistS SGaist

            Can you check whether you have the QtWebView libraries in your installation ?

            KarwanK Offline
            KarwanK Offline
            Karwan
            wrote on last edited by
            #9

            @SGaist
            alt text

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

              Can you start your application with the QT_DEBUG_PLUGINS environment variable set to 1 ? This should give some additional clues.

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

              KarwanK 1 Reply Last reply
              0
              • SGaistS SGaist

                Can you start your application with the QT_DEBUG_PLUGINS environment variable set to 1 ? This should give some additional clues.

                KarwanK Offline
                KarwanK Offline
                Karwan
                wrote on last edited by
                #11

                @SGaist By Adding QT_DEBUG_PLUGINS=1 to .pro , Fixed my problem , Thank you for everything @SGaist :) <333

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

                  Great !

                  What was it ?

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

                  KarwanK 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Great !

                    What was it ?

                    KarwanK Offline
                    KarwanK Offline
                    Karwan
                    wrote on last edited by
                    #13

                    @SGaist i just wanted to show a web page with QtWebView , that was all :) , Thank you again ! :)

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      pinebit
                      wrote on last edited by
                      #14

                      I have the same issue. I also tried adding QT_DEBUG_PLUGINS=1 to .pro as well as setting the same environment variable, but these did not help..
                      I am using msys/mingw64 Qt build: http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-qt5-5.12.1-2-any.pkg.tar.xz
                      In the log I can the warning: (qwebviewfactory.cpp:92) No WebView plug-in found!

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

                        Hi,

                        The QtWebView module uses QtWebEngine on Windows. And as already written, this module is only available with MSVC2017 because of 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
                        0
                        • K Offline
                          K Offline
                          kdsurya
                          wrote on last edited by kdsurya
                          #16

                          In Qt 5.15.0, there will be similar error like this when deploying in Windows. My solution is to put

                          QtWebView::initialize();
                          

                          after

                          QGuiApplication app(argc, argv);
                          

                          There will be a warning said: QtWebEngine::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future. but it's working.

                          JoseAndresGTJ 1 Reply Last reply
                          1
                          • K kdsurya

                            In Qt 5.15.0, there will be similar error like this when deploying in Windows. My solution is to put

                            QtWebView::initialize();
                            

                            after

                            QGuiApplication app(argc, argv);
                            

                            There will be a warning said: QtWebEngine::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future. but it's working.

                            JoseAndresGTJ Offline
                            JoseAndresGTJ Offline
                            JoseAndresGT
                            wrote on last edited by
                            #17

                            @Karwan QT_DEBUG_PLUGINS=1 works! :)

                            @kdsurya QtWebView::initialize after QGuiApplication app(argc, argv); works! :)

                            https://www.marine.sener/foran

                            FORAN capitalizes on SENER’s engineering and ship design know-how, as SENER is the only company that offers services of this kind and that has also developed a marine design system.

                            1 Reply Last reply
                            0
                            • Hai_ChinaH Offline
                              Hai_ChinaH Offline
                              Hai_China
                              wrote on last edited by
                              #18

                              Hello, how did you solve your problem? I also met the same problem with you. Am I in China
                              f506295b-d70b-4c22-9eb5-f385bcdf822b-image.png

                              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