Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Python blocks QT and pybind11 conflict #246

Open
mormj opened this issue May 24, 2022 · 0 comments
Open

Python blocks QT and pybind11 conflict #246

mormj opened this issue May 24, 2022 · 0 comments

Comments

@mormj
Copy link
Contributor

mormj commented May 24, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant