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. Using Spotify Web SDK in Qt6

Using Spotify Web SDK in Qt6

Scheduled Pinned Locked Moved Solved QtWebEngine
14 Posts 4 Posters 3.4k 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.
  • C cobook

    I'm trying to add Spotify feature using QtWebEngine in MacOS. Qt 6.8.0

    Code: in the qml file, WebEngineView turn on the index.html files.
    index.html have javascript codes about the spotify.

    My Qt used Chrome widevine, and when I run, it makes this error.

    js: Uncaught (in promise) EMEError: No supported keysystem was found.
    

    This error didn't come out when run index.html in chrome web browser directly.

    I searched, and found this document, so I tried to rebuild qt using under command.

    ./configure -webengine-proprietary-codecs
    

    But it cames out another error

    WARNING: QtWebEngine won't be built. Python3 html5lib is missing.
    WARNING: QtPdf won't be built. Python3 html5lib is missing.
    

    Python3 is already installed in my labtop,
    and I install html5lib in python virtual environments.
    Is it wrong way??
    Nothing changes.

    jsulmJ Online
    jsulmJ Online
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #2

    @cobook said in Using Spotify Web SDK in Qt6:

    Python3 is already installed in my labtop,

    Is Python in PATH when you're calling configure? And I guess configure does not you any of your virtual environments and will not find html5lib there.

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

    C 1 Reply Last reply
    0
    • jsulmJ jsulm

      @cobook said in Using Spotify Web SDK in Qt6:

      Python3 is already installed in my labtop,

      Is Python in PATH when you're calling configure? And I guess configure does not you any of your virtual environments and will not find html5lib there.

      C Offline
      C Offline
      cobook
      wrote on last edited by
      #3
      This post is deleted!
      1 Reply Last reply
      0
      • C Offline
        C Offline
        cobook
        wrote on last edited by
        #4

        Ok I found how to connect the python path.
        I add the my python virtual environment path. but still nothing has changed.

        $ pwd
        /Users/Qt/6.8.0/Src
        
        $ which python3
        /Users/Qt/6.8.0/Src/venv/bin/python3
        
        $ ./configure -webengine-proprietary-codecs
        
        ...
        
        [QtWebEngine] -- Support check for QtWebEngine failed: Python3 html5lib is missing.
        [QtWebEngine] -- Support check for QtPdf failed: Python3 html5lib is missing.
        
        ....
        
        WARNING: QtWebEngine won't be built. Python3 html5lib is missing.
        WARNING: QtPdf won't be built. Python3 html5lib is missing.
        
        $ /Users/Qt/6.8.0/Src/venv/bin/python3  -m pip show html5lib
        Name: html5lib
        Version: 1.1
        Summary: HTML parser based on the WHATWG HTML specification
        Home-page: https://github.com/html5lib/html5lib-python
        Author:
        Author-email:
        License: MIT License
        Location: /Users/Qt/6.8.0/Src/venv/lib/python3.13/site-packages
        Requires: six, webencodings
        Required-by:
        
        1 Reply Last reply
        0
        • C Offline
          C Offline
          cobook
          wrote on last edited by
          #5

          I changed the OS to ubuntu and solved this problem. But still have a problem to play DRM contents in QtWebEngine. I'll make new issue

          1 Reply Last reply
          0
          • C cobook has marked this topic as solved on
          • D Offline
            D Offline
            Dilloncarr
            Banned
            wrote on last edited by
            #6

            did you solve the problem, i am facing the same problem, please share the solution that helped you overcome it, thanks

            1 Reply Last reply
            0
            • D Offline
              D Offline
              Dilloncarr
              Banned
              wrote on last edited by
              #7

              help me brooo

              SGaistS 1 Reply Last reply
              0
              • D Dilloncarr

                help me brooo

                SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #8

                @Dilloncarr hi,

                From what @cobook wrote, the main fix was to move to Ubuntu. Did you already tried that ?
                Also, which version of Qt are you using ?
                How did you install it ?

                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
                • D Offline
                  D Offline
                  Dilloncarr
                  Banned
                  wrote on last edited by
                  #9

                  I tried switching to Ubuntu, it didn't work

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

                    And you also installed that missing library ?

                    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
                    • D Offline
                      D Offline
                      Dilloncarr
                      Banned
                      wrote on last edited by
                      #11

                      yeh right

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

                        Please describe the exact setup you are using:

                        • Qt version
                        • How you got it
                        • How you setup your build environment
                        • How are trying to build the QtWebengine module

                        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
                        • D Offline
                          D Offline
                          Dilloncarr
                          Banned
                          wrote on last edited by
                          #13

                          o>O o.O oh

                          1 Reply Last reply
                          0
                          • D Offline
                            D Offline
                            Dilloncarr
                            Banned
                            wrote on last edited by
                            #14
                            This post is deleted!
                            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