The compiler already told you the error, didn't it?
you are trying to pass an object of type RecordPtr to a method expecting "const QObject*".no known conversion for argument 1 from 'const RecordPtr {aka const QSharedPointer<MyApp::Record>}' to 'const QObject*'
Cheers,
_
Bookmarks