gnuradio / newsched

The GNU Radio 4.0 Runtime Proof Of Concept
GNU General Public License v3.0
22 stars 16 forks source link

Python blocks QT and pybind11 conflict #246

Open mormj opened 2 years ago

mormj commented 2 years ago

When a block inherits from both the block/sync_block base class and from QWidget, we get the following error:

TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

We also get this error in the grc generated class for QT flowgraphs, which is why those use a has-a relationship instead of an is-a