Hi, Sure, I attached them to the e-mail. > Hi Marcin > > Can you send the .ui file and your python file used to test the ui file. > > Thanks > > On Fri, Oct 8, 2010 at 5:03 AM, Marcin Łyko <[email protected]> wrote: > > Hi, > > > > Could someone confirm if it is general problem please? I would fill a > > bug against the issue then. > > > > Best Regards, > > Marcin > > > >> Hi there, > >> > >> I've built apiextractor, generatorrunner, shiboken and pyside from git > >> HEAD and after installing I get the following error when I try load ui > >> files using QtUiTools module: > >> > >> Designer: An error has occurred while reading the UI file at line 1, > >> column 0: Premature end of document. > >> > >> Is it known issue? > >> > >> Regards, > >> Marcin > >> > >> _______________________________________________ > >> PySide mailing list > >> [email protected] > >> http://lists.openbossa.org/listinfo/pyside > > > > > > _______________________________________________ > > PySide mailing list > > [email protected] > > http://lists.openbossa.org/listinfo/pyside > > > > >
#!/usr/bin/env python
import sys
from PySide import QtCore, QtGui
from PySide.QtUiTools import QUiLoader
app = QtGui.QApplication(sys.argv)
loader = QUiLoader()
file = QtCore.QFile("pyside/tests/QtUiTools/minimal.ui")
if file.open(QtCore.QFile.ReadOnly):
widget = loader.load(file)
print widget.__class__.__name__, widget.metaObject().className()
minimal.ui
Description: application/designer
_______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
