[PyKDE] Crash when using QAction.setShortcut
Miguel Lobo
mlobol at gmail.com
Mon Mar 5 23:09:05 GMT 2007
The following simple code crashes for me:
from PyQt4 import QtCore, QtGui
from PyQt4.QtCore import Qt
action = QtGui.QAction(None)
action.setShortcut(QtGui.QKeySequence(Qt.Key_Q))
I'm using:
* Qt/Windows 4.2.2 Open Source Edition.
* PyQt 4.1.1
* sip 4.5.2
I haven't changed these versions in a while and everything else seems to
work ok.
Sorry about not posting a backtrack, I'm not sure how to generate one under
Windows. Hopefully somebody will be able to reporuce this problem.
Regards,
Miguel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070306/f916fda9/attachment.html
More information about the PyQt
mailing list