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

QtWebEngine --register-pepper-plugins

Scheduled Pinned Locked Moved Solved QtWebEngine
16 Posts 2 Posters 6.1k Views
  • 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.
  • M maximus

    @dr_W

    Just make sure you use the same Chromium version that is bundled with Qt (61, 62, now 65 with the alpha)
    I drop the dll or the dylib right near the the executable after compilation

    D Offline
    D Offline
    dr_W
    wrote on last edited by
    #7

    @maximus Hello, can you describe it in detail?
    Here's the thing: I put the plugin's DLL, lib in the release, and "don't support the plugin";

    M 1 Reply Last reply
    0
    • D dr_W

      @maximus Hello, can you describe it in detail?
      Here's the thing: I put the plugin's DLL, lib in the release, and "don't support the plugin";

      M Offline
      M Offline
      maximus
      wrote on last edited by
      #8

      @dr_W

      Did you rebuild Qt from source with the flag on?

      aka:

      git clone qt5
      cd qt5
      git checkout tag version, i.e : git checkout v5.10.0
      perl init-repository
      
      --configure, use another folder prefix on the same level as qt source
      ./configure -opensource -confirm-license -release -webengine-pepper-plugins -webengine-proprietary-codecs -no-openssl -securetransport -prefix /Users/maxime.blais/Qt/Qt5.11.0_alpha
      
      
      make
      make install
      

      Free Indoor Cycling Software - https://maximumtrainer.com

      D 1 Reply Last reply
      0
      • M maximus

        @dr_W

        Did you rebuild Qt from source with the flag on?

        aka:

        git clone qt5
        cd qt5
        git checkout tag version, i.e : git checkout v5.10.0
        perl init-repository
        
        --configure, use another folder prefix on the same level as qt source
        ./configure -opensource -confirm-license -release -webengine-pepper-plugins -webengine-proprietary-codecs -no-openssl -securetransport -prefix /Users/maxime.blais/Qt/Qt5.11.0_alpha
        
        
        make
        make install
        
        D Offline
        D Offline
        dr_W
        wrote on last edited by
        #9

        @maximus
        I have compiled Qt5.9.3 and enable -pepper-code.

        D 1 Reply Last reply
        0
        • D dr_W

          @maximus
          I have compiled Qt5.9.3 and enable -pepper-code.

          D Offline
          D Offline
          dr_W
          wrote on last edited by
          #10

          @dr_W

          This is the parameter I compile.
          Qt WebEngine:
          Embedded build ......................... no
          Pepper Plugins ......................... yes
          Printing and PDF ....................... yes
          Proprietary Codecs ..................... yes
          Spellchecker ........................... yes
          WebRTC ................................. yes
          Using system ninja ..................... yes

          M 1 Reply Last reply
          0
          • D dr_W

            @dr_W

            This is the parameter I compile.
            Qt WebEngine:
            Embedded build ......................... no
            Pepper Plugins ......................... yes
            Printing and PDF ....................... yes
            Proprietary Codecs ..................... yes
            Spellchecker ........................... yes
            WebRTC ................................. yes
            Using system ninja ..................... yes

            M Offline
            M Offline
            maximus
            wrote on last edited by
            #11

            @dr_W

            This is looking good.
            Where did you get the plugin ddl from?
            Make sure it is from the same Chromium version as the Qt version you are using (Chromium 56, x86 or x64)
            Kind of hard to find old version of widevine.dll so I prefered to go with the alpha version, which is using latest Chromium 65


            Free Indoor Cycling Software - https://maximumtrainer.com

            D 4 Replies Last reply
            0
            • M maximus

              @dr_W

              This is looking good.
              Where did you get the plugin ddl from?
              Make sure it is from the same Chromium version as the Qt version you are using (Chromium 56, x86 or x64)
              Kind of hard to find old version of widevine.dll so I prefered to go with the alpha version, which is using latest Chromium 65

              D Offline
              D Offline
              dr_W
              wrote on last edited by
              #12

              @maximus !

              My source code uses the official google example. My dll and lib are compiled by using vs2013.

              Figure 1 below shows the pepper plugins that I loaded on chrome version 64.
              Figure 2, I use Qt official Examples "simplebrowser.pro", but did not load the pepper plugins.

              0_1522200937140_TIM截图20180328093526.png

              0_1522202001400_TIM截图20180328094859.png

              1 Reply Last reply
              0
              • M maximus

                @dr_W

                This is looking good.
                Where did you get the plugin ddl from?
                Make sure it is from the same Chromium version as the Qt version you are using (Chromium 56, x86 or x64)
                Kind of hard to find old version of widevine.dll so I prefered to go with the alpha version, which is using latest Chromium 65

                D Offline
                D Offline
                dr_W
                wrote on last edited by
                #13

                @maximus
                0_1522204373196_TIM截图20180328093526.png

                0_1522204385450_TIM截图20180328094859.png

                1 Reply Last reply
                0
                • M maximus

                  @dr_W

                  This is looking good.
                  Where did you get the plugin ddl from?
                  Make sure it is from the same Chromium version as the Qt version you are using (Chromium 56, x86 or x64)
                  Kind of hard to find old version of widevine.dll so I prefered to go with the alpha version, which is using latest Chromium 65

                  D Offline
                  D Offline
                  dr_W
                  wrote on last edited by
                  #14

                  @maximus

                  First of all, thank you very much for your reply. Moreover, I hope that you will give me a clear explanation of your solution to this problem. We should have a time difference of 12 hours. We cannot communicate in time. I hope you will speak more of your opinion.

                  1 Reply Last reply
                  0
                  • M maximus

                    @dr_W

                    This is looking good.
                    Where did you get the plugin ddl from?
                    Make sure it is from the same Chromium version as the Qt version you are using (Chromium 56, x86 or x64)
                    Kind of hard to find old version of widevine.dll so I prefered to go with the alpha version, which is using latest Chromium 65

                    D Offline
                    D Offline
                    dr_W
                    wrote on last edited by
                    #15

                    @maximus SOLVED,thank you very much!

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      maximus
                      wrote on last edited by
                      #16

                      Cheers! Happy it worked.
                      I had issues myself, it's not easy to debug when it goes wrong!

                      Max


                      Free Indoor Cycling Software - https://maximumtrainer.com

                      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