I created my own class and | wanted to pass it as argument in SIGNALS/SLOTS.
But when I call emit signal(myClass); I get this error on output:I solved the problem by passing pointer to myClass instead of myClass object, but what's wrong in the first method?Qt Code:
Object::connect: Cannot queue arguments of type 'myClass' (Make sure 'myClass' is registered using qRegisterMetaType()To copy to clipboard, switch view to plain text mode
Bookmarks