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