How to add video in UI created using Qt Designer with a promoted widget which is a QVideoWidget?
问题 I am a beginner in Qt. But following some tutorials I created a UI in qt designer which would display a live stream video. I have read that in order to add video i need to promote widget to a QVideoWidget. Then I convert the .ui to a .py file to access it using python language. The thing is once i have done that i dont know how to put the video in the widget that i made in the ui. Thank you. The code below show the GUI.py file. I am importing it in another file where I would code it show the