If you run "pyuic4 -o video_ui.py video.ui" with the two attached files, it works fine with 4.9.1, but fails with 4.9.3. The error I get is:
Unknown Qt widget: Phonon.VideoPlayer Was there a change that weboob (where the two files were taken from) needs to adapt to? Scott K
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'video.ui'
#
# Created: Thu Jul 12 00:03:34 2012
# by: PyQt4 UI code generator 4.9.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
class Ui_Video(object):
def setupUi(self, Video):
Video.setObjectName(_fromUtf8("Video"))
Video.resize(647, 404)
self.verticalLayout = QtGui.QVBoxLayout(Video)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.titleLabel = QtGui.QLabel(Video)
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.titleLabel.setFont(font)
self.titleLabel.setFrameShape(QtGui.QFrame.Box)
self.titleLabel.setFrameShadow(QtGui.QFrame.Raised)
self.titleLabel.setAlignment(QtCore.Qt.AlignCenter)
self.titleLabel.setObjectName(_fromUtf8("titleLabel"))
self.verticalLayout.addWidget(self.titleLabel)
self.frame = QtGui.QFrame(Video)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.MinimumExpanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.frame.sizePolicy().hasHeightForWidth())
self.frame.setSizePolicy(sizePolicy)
self.frame.setStyleSheet(_fromUtf8("background-color: rgb(255, 255, 255);"))
self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
self.frame.setFrameShadow(QtGui.QFrame.Sunken)
self.frame.setObjectName(_fromUtf8("frame"))
self.verticalLayout_2 = QtGui.QVBoxLayout(self.frame)
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
video.ui
Description: application/designer
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
