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.7k 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
    Karwan
    wrote on 6 Feb 2019, 21:38 last edited by
    #1

    Help Guys !
    iam using the last version of Qt which is 5.12 , :)
    alt text

    1 Reply Last reply
    1
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 6 Feb 2019, 21:40 last edited by
      #2

      Hi,

      Might be a silly question but did you add QT += webview to your .pro file ?

      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
        Karwan
        wrote on 7 Feb 2019, 19:52 last edited by
        #3

        yes, i added QT += webview to .pro , but it's same thing , iam using MSVC 2017 kit

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 7 Feb 2019, 22:44 last edited by
          #4

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

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

          K 3 Replies Last reply 9 Feb 2019, 19:12
          0
          • K Offline
            K Offline
            Konstantin Tokarev
            wrote on 8 Feb 2019, 13:16 last edited by
            #5

            Did you enable QtWebEngine module when installing Qt?

            K 1 Reply Last reply 9 Feb 2019, 19:12
            0
            • S SGaist
              7 Feb 2019, 22:44

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

              K Offline
              K Offline
              Karwan
              wrote on 9 Feb 2019, 19:12 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
                8 Feb 2019, 13:16

                Did you enable QtWebEngine module when installing Qt?

                K Offline
                K Offline
                Karwan
                wrote on 9 Feb 2019, 19:12 last edited by
                #7

                @Konstantin-Tokarev yes , :)

                1 Reply Last reply
                0
                • S SGaist
                  7 Feb 2019, 22:44

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

                  K Offline
                  K Offline
                  Karwan
                  wrote on 9 Feb 2019, 19:27 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
                  • S SGaist
                    7 Feb 2019, 22:44

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

                    K Offline
                    K Offline
                    Karwan
                    wrote on 9 Feb 2019, 19:31 last edited by
                    #9

                    @SGaist
                    alt text

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 9 Feb 2019, 20:51 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

                      K 1 Reply Last reply 10 Feb 2019, 20:50
                      0
                      • S SGaist
                        9 Feb 2019, 20:51

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

                        K Offline
                        K Offline
                        Karwan
                        wrote on 10 Feb 2019, 20:50 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
                        • S Offline
                          S Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 10 Feb 2019, 20:52 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

                          K 1 Reply Last reply 11 Feb 2019, 16:47
                          0
                          • S SGaist
                            10 Feb 2019, 20:52

                            Great !

                            What was it ?

                            K Offline
                            K Offline
                            Karwan
                            wrote on 11 Feb 2019, 16:47 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 16 Feb 2019, 10:58 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
                              • S Offline
                                S Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on 16 Feb 2019, 11:35 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 1 Jul 2020, 06:39 last edited by kdsurya 7 Jan 2020, 06:39
                                  #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 23 Oct 2020, 06:14
                                  1
                                  • K kdsurya
                                    1 Jul 2020, 06:39

                                    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 23 Oct 2020, 06:14 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 30 Oct 2020, 09:50 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