[chimerax-users] Plugin developers switch from PyQt5 to PySide2

Tom Goddard goddard at sonic.net
Wed Dec 2 20:41:06 PST 2020


For those who develop ChimeraX plugins with graphical user interfaces, today we switched ChimeraX from using PyQt5 to using PySide2.  These are nearly identical Python interfaces to the Qt window toolkit.  In your code you will probably only need to change imports of PyQt5 to instead import PySide2.  There are a few other small differences (e.g. pyqtSignal becomes Signal, and QAction callbacks may not have the same arguments) and more details about the differences are in this ChimeraX ticket

	 <https://plato.cgl.ucsf.edu/trac/ChimeraX/ticket/1635#comment:34>https://plato.cgl.ucsf.edu/trac/ChimeraX/ticket/1635 <https://plato.cgl.ucsf.edu/trac/ChimeraX/ticket/1635>

We made the switch because PySide2 has a bigger community development team, part of the Qt project, and has less restrictive licensing.

	Tom

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20201202/37354a72/attachment.html>


More information about the ChimeraX-users mailing list