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