PyQt5: Issues with a Mixin with a metaclass within a derived QWidget class
问题 I'm having issues trying to add a mixin with a metaclass to a class whose base is a QWidget. I'm aware that PyQt5 supports cooperative multiple inheritance and if my MixIn class has no metaclass then things work fine. However, if it has a metaclass - whether it be the pyqtWrapperType metaclass shared by QWidgets or a derived metaclass, then I receive the following error: Process finished with exit code -1073741819 (0xC0000005) The code for the rest of the script runs, but the QWidget does not