[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] Qt Designer 4.3 / pyuic4 doesn't support cursorShape?
From: "Kelvie Wong" <kelvie () ieee ! org>
Date: 2007-06-24 8:28:54
Message-ID: 94ccbe710706240128m1ccd8887tc4cd56056e03dfff () mail ! gmail ! com
[Download RAW message or body]
Whenever I try to compile a .ui file where any of the widgets change
the "cursor" property, pyuic4 (I use the 2007 June 21 snapshot)
generates the following error:
DEBUG:root:setting property cursor
Traceback (most recent call last):
File "//usr/lib/python2.5/site-packages/PyQt4/uic/pyuic.py", line
65, in <module>
error = generateUi(args[1], options.output, options.execute, options.indent)
File "//usr/lib/python2.5/site-packages/PyQt4/uic/pyuic.py", line
28, in generateUi
uic.compileUi(uifname, pyfile, execute, indent)
File "/usr/lib/python2.5/site-packages/PyQt4/uic/__init__.py", line
56, in compileUi
winfo = compiler.UICompiler().compileUi(uifile, pyfile)
File "/usr/lib/python2.5/site-packages/PyQt4/uic/Compiler/compiler.py",
line 71, in compileUi
w = self.parse(input_stream)
File "/usr/lib/python2.5/site-packages/PyQt4/uic/uiparser.py", line
543, in parse
actor(elem)
File "/usr/lib/python2.5/site-packages/PyQt4/uic/uiparser.py", line
402, in createUserInterface
self.traverseWidgetTree(elem)
File "/usr/lib/python2.5/site-packages/PyQt4/uic/uiparser.py", line
380, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.5/site-packages/PyQt4/uic/uiparser.py", line
153, in createWidget
self.stack.push(self.setupObject(widgetClass(elem), parent, elem))
File "/usr/lib/python2.5/site-packages/PyQt4/uic/uiparser.py", line
129, in setupObject
self.wprops.setProperties(obj, branch)
File "/usr/lib/python2.5/site-packages/PyQt4/uic/properties.py",
line 218, in setProperties
self.convert(prop, widget))
File "/usr/lib/python2.5/site-packages/PyQt4/uic/properties.py",
line 178, in convert
raise UnsupportedPropertyError, prop[0].tag
UnsupportedPropertyError: cursorShape
----------
----------
This is reproduceable easily, just use Qt Designer 4.3, change the
'cursor' property of any widget, and try to run it through pyuic4.
I didn't see any type of bug tracker on the website, so I was unsure
of where to submit this.
--
Kelvie
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic