KDAB / cxx-qt

Safe interop between Rust and Qt
https://kdab.github.io/cxx-qt/book/
1.02k stars 67 forks source link

Allow defining non-QObjects in CXX-Qt #824

Closed LeonMatthesKDAB closed 6 months ago

LeonMatthesKDAB commented 7 months ago

As added in the prototype PR in #767, we may want to support non-QObjects with CXX-Qt.

Notably, CXX-Qt would add support for inheritance and virtual functions, which CXX doesn't have.

Conceptually, this support would fit better in CXX and is an additional burden for us regarding maintenance. So we should consider whether it's worth it for us to properly support this. Maybe put it behind a feature flag marked as experimental, unstable, etc?

For a use-case, see: #819