The tutorial code can't work.
-
Hi there,
I am new in qt for Python and I am following the tutorials.
Everything was working well until I went to Using .qrc Files (pyside6-rcc).
The code is not completed in this tutorial, and I tried to combine it with the simple stub.
But it doesn't work, the terminal complainedImportError: cannot import name 'QMediaPlaylist' from 'PySide6.QtMultimedia'
with the following code.from PySide6.QtMultimedia import QMediaPlayer, QMediaPlaylist
I am working with pyside6 in version 6.7.2.
Could anyone give me the complete code of this tutorial for reference?BTW,
- I can find the
examples
code for Qt for Python in HERE, but I can't find where is the tutorial code.
Does anyone know where I can have it? - How to design this
mainwindow
bypyside-designer
? Could you give me themainwindow.ui
file for reference?
Thanks for your help!
- I can find the
-
Hi there,
I am new in qt for Python and I am following the tutorials.
Everything was working well until I went to Using .qrc Files (pyside6-rcc).
The code is not completed in this tutorial, and I tried to combine it with the simple stub.
But it doesn't work, the terminal complainedImportError: cannot import name 'QMediaPlaylist' from 'PySide6.QtMultimedia'
with the following code.from PySide6.QtMultimedia import QMediaPlayer, QMediaPlaylist
I am working with pyside6 in version 6.7.2.
Could anyone give me the complete code of this tutorial for reference?BTW,
- I can find the
examples
code for Qt for Python in HERE, but I can't find where is the tutorial code.
Does anyone know where I can have it? - How to design this
mainwindow
bypyside-designer
? Could you give me themainwindow.ui
file for reference?
Thanks for your help!
@shadow3d said in The tutorial code can't work.:
QMediaPlaylist
It was removed from Qt6, see https://doc.qt.io/qt-6/qtmultimedia-changes-qt6.html
- I can find the
-
PYSIDE-2828) for reference.
-
C CristianMaureira has marked this topic as solved on