Hello,
Here is my situation, I'm using a qml library, and it provides a declartive
class A, which is a subclass type B. (A is registered as uncreatable qml
type,

I need this object to be passed to a function of exported c++ qobject, what
prototype of the c++ function should I choose to let this object of type A
to be passed?

I tried
void function(const QObject*)
or
void function(const B*)

The problem is that A is not a public class.


(Do I need to register QObject/B as qml type?)

Thanks in advance!
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to