Pyqt under windows and nuke 6.3 has alot of bugs that PySide does not.
For exemple, the following will make PyQt crash but not under Pyside
import PyQt4.QtCore as QtCore
import PyQt4.QtGui as QtGui
class NukeTestWindow(QtGui.QWidget):
def __init__(self, parent=None):
QtGui.QWidget.__init__(self, parent)
self.setLayout( QtGui.QVBoxLayout() )
self.myLineEdit = QtGui.QLineEdit("Hello World")
self.layout().addWidget( self.myLineEdit )
QtCore.QObject.connect(self.myLineEdit,QtCore.SIGNAL("textChanged(QString)"),
self.test)
def test(self):
print "Test"
n = NukeTestWindow()
n.show()
> > PS: Any reason to use PySide instead of PyQT? I'm just curious. From
> > what I know, the difference is mainly on licence (PySide is more
> > permissive from what I know).
--
Hugo Léveillé
TD Compositing, Vision Globale
[email protected]
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python