multimedia module
-
Hello!
I am trying to create a basic GUI for a project of mine in python. I need it to be able to play videos and provide some other basic functionality. However, I cannot seem to be able to use the multimedia module. I have checked the maintenance tool and it is installed. However, when I try to create or promote a widget to QVideoWidget the option is not there. None of the multimedia widgets are available either. I had some problems with my python as it was installed in a seperate virtual environment for my other project and as such had problems selecting a kit to use which I think may be the issue. I am probably just missing something simple as I have not used Qt before. Any help would be appreciated.
Thank you.
-
Hello!
I am trying to create a basic GUI for a project of mine in python. I need it to be able to play videos and provide some other basic functionality. However, I cannot seem to be able to use the multimedia module. I have checked the maintenance tool and it is installed. However, when I try to create or promote a widget to QVideoWidget the option is not there. None of the multimedia widgets are available either. I had some problems with my python as it was installed in a seperate virtual environment for my other project and as such had problems selecting a kit to use which I think may be the issue. I am probably just missing something simple as I have not used Qt before. Any help would be appreciated.
Thank you.
Hi and welcome,
@lorc said in multimedia module:
when I try to create or promote a widget to QVideoWidget the option is not there
what option? You have to select your (in case of Python)
*.py
file where you've implemented yourQVideoWidget
subclass.
And as "header" something likePyQt6.QtMultimediaWidgets
...
Are you using PySide6 or PyQt?Can you verify that the rest of your installation works properly?
-
Hi and welcome,
@lorc said in multimedia module:
when I try to create or promote a widget to QVideoWidget the option is not there
what option? You have to select your (in case of Python)
*.py
file where you've implemented yourQVideoWidget
subclass.
And as "header" something likePyQt6.QtMultimediaWidgets
...
Are you using PySide6 or PyQt?Can you verify that the rest of your installation works properly?
-
@lorc said in multimedia module:
Do I need to manually impliment the video widget instead of using the design mode?
Depends on if you want to use the default
QVideoWidget
or a modified implementation.
For the default one try:
(not tested as I'm not using Qt for Python right now)class:
QVideoWidget
header:PySide6.QtMultimediaWidgets
else you have to place you classname and Py module name (without the `*.py extension) there