Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-86007

Read widevine from ~/.config

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 6.4.0 RC1, 6.5.0 Beta1
    • None
    • WebEngine
    • None
    • 7d8bee327d (qt/qtwebengine/dev) 42ca6c7247 (qt/qtwebengine/6.4)

      It looks like newer versions of Chromium store Widevine in ~/.config, at least on Linux (no idea how things look on Windows/macOS).

      On my machine, I have a ~/.config/chromium/WidevineCdm/latest-component-updated-widevine-cdm which contains:

      {"Path":"/usr/lib/chromium/WidevineCdm"}
      

      and Widevine is then stored in /usr/lib/chromium/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so.

      However, another user reports having this in the latest-component-updated-widevine-cdm:

      {"Path":"/home/myuser/.config/chromium/WidevineCdm/4.10.1610.0"}   
      

      and the actual library is at ~/.config/chromium/WidevineCdm/4.10.1610.0/_platform_specific/linux_x64/libwidevinecdm.so.

      It'd probably make sense for QtWebEngine to read the path in that JSON file and also search Widevine there (in the proper subdirectory) in addition to the current paths.

        For Gerrit Dashboard: QTBUG-86007
        # Subject Branch Project Status CR V

            qt_webengine_team Qt WebEngine Team
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes