Unsolved Registering an an abstract interface in QML
-
I have a number of QObject-derived abstract C++ classes that are shared among many other various classes. I was hoping to be able to specify their type names in QML properties instead of using var because I've found the type safety to help a lot in finding mistakes. This all works fine for classes which are registered with QML but many of my classes are abstract and can't be registered. I tried using various qmlRegister* functions which didn't seem to do anything.
Assuming that I can't do what I want and I have to use var, what are all of those qmlRegister* functions doing then? Especially qmlRegisterInterface which sounded like exactly what I needed.
Thanks!