[PyQt] Exception dialog for pyqt5.dll Designer plugin
sda at fstab.net
Tue Jul 18 18:11:57 BST 2017
Following up on an old thread .
I went ahead and shoved my PyQt5 application's exception dialog into the
plugin so I could get exceptions there as well. Screenshot at . A
available on GitHub . Builds of pyqt5-tools with it on AppVeyor .
I'd like something like this put into the official source but this is my
foray into the Python C API so the form may not be appreciated.
Brief overview... excepthook.py is roughly my application's PyQt5
generate_module_literal.py is used to convert excepthook.py into
which is excepthook.py as a char plus it's name. The existing
loads that 'string' as a python module which registers the custom
that shows the dialog.
If you're interested enough to try it out, let me know how it works for
More information about the PyQt