Add dllexport to the QSharedPointer.