16.07.2013, 19:49, "Phil Hannent" <phil at hannent.co.uk>: > Hi, > I have a codebase that is using a C library and Qt. I have some legacy code where structs from the C library are stored in a Qt/C++ class using: > > void *userData; > > Is this an example where I should replace the void * with a QSharedPointer or a QWeakPointer? No. -- Regards, Konstantin