Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. widevine is not work
Qt 6.11 is out! See what's new in the release blog

widevine is not work

Scheduled Pinned Locked Moved Unsolved QtWebEngine
13 Posts 2 Posters 4.2k 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.
  • jsulmJ jsulm

    @cobook Check the config.log file - it should provide more information.

    C Offline
    C Offline
    cobook
    wrote on last edited by
    #3

    @jsulm I don't have a config.log file

    Screenshot from 2025-01-14 13-59-09.png

    and I only have .ninja_log
    but it doesn't look helpful

    4445924	4454051	1736788464141841719	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/cmake_pch.hxx.gch	f49df0813d28be95
    4454051	4454957	1736788465089851430	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/WebEngineCore_autogen/mocs_compilation.cpp.o	cad03b80eb2265be
    4454052	4455048	1736788465181852373	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginequotarequest.cpp.o	4c8d1de1dc5a4567
    4454052	4455175	1736788465305853643	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclientcertificateselection.cpp.o	c5b813e65b00bd22
    4454054	4455213	1736788465345854053	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefilesystemaccessrequest.cpp.o	83a5ca790f1aac6a
    4454052	4455226	1736788465349854094	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclientcertificatestore.cpp.o	293b9bcf75305426
    4454053	4455233	1736788465365854257	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecontextmenurequest.cpp.o	1a2159d048114424
    4454052	4455276	1736788465401854627	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecertificateerror.cpp.o	ece3ab368c4ddc5f
    4454054	4455408	1736788465537856020	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginedownloadrequest.cpp.o	d72759d39f4fd09d
    4454053	4455510	1736788465641857085	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginedesktopmediarequest.cpp.o	429748f7b5630a09
    4454053	4455626	1736788465757858273	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclienthints.cpp.o	fa38c545b716b6ef
    

    Did I do it right to build Qt?

    jsulmJ 1 Reply Last reply
    0
    • C cobook

      @jsulm I don't have a config.log file

      Screenshot from 2025-01-14 13-59-09.png

      and I only have .ninja_log
      but it doesn't look helpful

      4445924	4454051	1736788464141841719	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/cmake_pch.hxx.gch	f49df0813d28be95
      4454051	4454957	1736788465089851430	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/WebEngineCore_autogen/mocs_compilation.cpp.o	cad03b80eb2265be
      4454052	4455048	1736788465181852373	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginequotarequest.cpp.o	4c8d1de1dc5a4567
      4454052	4455175	1736788465305853643	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclientcertificateselection.cpp.o	c5b813e65b00bd22
      4454054	4455213	1736788465345854053	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefilesystemaccessrequest.cpp.o	83a5ca790f1aac6a
      4454052	4455226	1736788465349854094	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclientcertificatestore.cpp.o	293b9bcf75305426
      4454053	4455233	1736788465365854257	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecontextmenurequest.cpp.o	1a2159d048114424
      4454052	4455276	1736788465401854627	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecertificateerror.cpp.o	ece3ab368c4ddc5f
      4454054	4455408	1736788465537856020	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginedownloadrequest.cpp.o	d72759d39f4fd09d
      4454053	4455510	1736788465641857085	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginedesktopmediarequest.cpp.o	429748f7b5630a09
      4454053	4455626	1736788465757858273	qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclienthints.cpp.o	fa38c545b716b6ef
      

      Did I do it right to build Qt?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #4

      @cobook Are you building inside the Qt source folder? You should not do that. The log file should be in the folder in which you build Qt.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      C 1 Reply Last reply
      0
      • jsulmJ jsulm

        @cobook Are you building inside the Qt source folder? You should not do that. The log file should be in the folder in which you build Qt.

        C Offline
        C Offline
        cobook
        wrote on last edited by cobook
        #5

        @jsulm oh I see. yes I built in the Qt source directory.
        Then I'll try building outside of src folder like this.

        • Do I need to delete and reinstall Qt library? or can I just leave it?
        cd ~/mypath/Qt/6.8.1/Src
        mkdir build
        cd build
        ../configure -webengine-proprietary-codecs
        cmake --build .. --parallel
        cmake --install ..
        
        jsulmJ 1 Reply Last reply
        0
        • C cobook

          @jsulm oh I see. yes I built in the Qt source directory.
          Then I'll try building outside of src folder like this.

          • Do I need to delete and reinstall Qt library? or can I just leave it?
          cd ~/mypath/Qt/6.8.1/Src
          mkdir build
          cd build
          ../configure -webengine-proprietary-codecs
          cmake --build .. --parallel
          cmake --install ..
          
          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #6

          @cobook said in widevine is not work:

          Do I need to delete and reinstall Qt library?

          Do you mean the Qt sources folder? I would start with a fresh one to make sure old build artifacts don't break the build.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • C Offline
            C Offline
            cobook
            wrote on last edited by
            #7

            ok thanks
            now I'm trying to reinstall Qt sources
            I'll do it again as you mention it

            1 Reply Last reply
            0
            • C Offline
              C Offline
              cobook
              wrote on last edited by
              #8

              I run the configure file again in the build directory, but the config.log file isn't in there.
              And also widevine doesn't work

              My application came out those error

              js: DRM will only work via https://. Will redirect in production. Current environment is: undefined
              js: It is recommended that a robustness level be specified. Not specifying the robustness level could result in unexpected behavior.
              
              jsulmJ 1 Reply Last reply
              0
              • C cobook

                I run the configure file again in the build directory, but the config.log file isn't in there.
                And also widevine doesn't work

                My application came out those error

                js: DRM will only work via https://. Will redirect in production. Current environment is: undefined
                js: It is recommended that a robustness level be specified. Not specifying the robustness level could result in unexpected behavior.
                
                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #9

                @cobook The file must be there. It may be called configure.log. Search for files with .log extension.
                As alternative you can run configure with -v option.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  cobook
                  wrote on last edited by
                  #10

                  Did you check my build command and file what I worte? Did I miss something?
                  There is no log file

                  source directory
                  스크린샷 2025-01-15 오후 3.41.24.png

                  build directory
                  스크린샷 2025-01-15 오후 3.41.51.png

                  ninja log is written above.

                  jsulmJ 1 Reply Last reply
                  0
                  • C cobook

                    Did you check my build command and file what I worte? Did I miss something?
                    There is no log file

                    source directory
                    스크린샷 2025-01-15 오후 3.41.24.png

                    build directory
                    스크린샷 2025-01-15 오후 3.41.51.png

                    ninja log is written above.

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #11

                    @cobook What is inside config.tests?
                    You can also run configure with -v parameter to get verbose output.

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    C 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @cobook What is inside config.tests?
                      You can also run configure with -v parameter to get verbose output.

                      C Offline
                      C Offline
                      cobook
                      wrote on last edited by
                      #12

                      @jsulm when I add -v option to run configure file, it made error. There is no -v option.

                      + /mypath/Qt/6.8.1/Src/qtbase/configure -top-level -v
                      CMake Error at /mypath/Qt/6.8.1/Src/qtbase/cmake/QtProcessConfigureArgs.cmake:376 (message):
                        Unknown command line option '-v'.
                      Call Stack (most recent call first):
                        /mypath/Qt/6.8.1/Src/qtbase/cmake/QtProcessConfigureArgs.cmake:780 (qtConfAddError)
                      

                      And this is config.tests directory.
                      those are all directory.
                      스크린샷 2025-01-15 오후 5.29.46.png

                      -> inside the directory
                      스크린샷 2025-01-15 오후 5.30.33.png

                      jsulmJ 1 Reply Last reply
                      0
                      • C cobook

                        @jsulm when I add -v option to run configure file, it made error. There is no -v option.

                        + /mypath/Qt/6.8.1/Src/qtbase/configure -top-level -v
                        CMake Error at /mypath/Qt/6.8.1/Src/qtbase/cmake/QtProcessConfigureArgs.cmake:376 (message):
                          Unknown command line option '-v'.
                        Call Stack (most recent call first):
                          /mypath/Qt/6.8.1/Src/qtbase/cmake/QtProcessConfigureArgs.cmake:780 (qtConfAddError)
                        

                        And this is config.tests directory.
                        those are all directory.
                        스크린샷 2025-01-15 오후 5.29.46.png

                        -> inside the directory
                        스크린샷 2025-01-15 오후 5.30.33.png

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #13

                        @cobook Then call configure with --help parameter to see how the verbose parameter is called now.

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        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
                        • Unsolved