What version of Qt/PyQt4 are you using?
I just tested this on OSX using one of my prebuilt packages:
PyQt 4.9.4
Qt 4.7.1 Autodesk modified
Your code does not crash for me. However you may want to fix the way
your are inheriting to this:
class testMe_GUI(base_class, form_class):
def __init__( self, parent=None):
super(testMe_GUI, self).__init__(parent)
The base class should come first and you should make sure you are
calling the right superclass init. It was a QMainWindow, yet you were
explicitly calling a QWidget init.
On Thu, Sep 13, 2012 at 1:06 PM, Carlo <[email protected]> wrote:
> So I have attach a sample copy of the result I am getting. One out of every
> 15 times it will work fine, and the rest it will just crash. >=(
>
> --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings:
http://groups.google.com/group/python_inside_maya/subscribe