[PyQt] phonon - the video widget could not be initialized correctly
Aljosa Mohorovic
aljosa.mohorovic at gmail.com
Mon Nov 17 02:28:23 GMT 2008
i'm getting "the video widget could not be initialized correctly"
error, anybody knows what is causing this?
code:
-------------------------------------------
import sys
from PyQt4 import QtGui
from PyQt4.phonon import Phonon
from gui import Ui_MainWindow
app = QtGui.QApplication(sys.argv)
window = QtGui.QMainWindow()
ui = Ui_MainWindow()
ui.setupUi(window)
file = r'C:\movie.avi'
vw = Phonon.VideoWidget(ui.widget)
window.show()
sys.exit(app.exec_())
-------------------------------------------
Aljosa Mohorovic
p.s
i've tried using pyqt4+phonon on ubuntu but i had no luck installing
phonon support
More information about the PyQt
mailing list