Dynamically create QObject classes
I would like to create a QML plugin that dynamically creates QObject classes and registers them. I see some material in this area, but it is dated and I am wondering what the state of art is and if there are any good examples. I am fine with targeting Qt5 only if that makes things easier.
The purpose of this plugin is to use Erlang for the application logic of a QML application. The Erlang side would provide a spec of the types including signals, slots, methods etc, and the plugin would register these types and forward all metacalls back to Erlang code.
I suggest you read about object pools.
And then find some implementation to that.