clang++ : fix all leak memory using QSharedPointer

2 jobs for master
Status Job ID Name Coverage
  Build
canceled #22068
linux kf5-qt5 qt5.12

canceled #22069
windows
windows kf5-qt5 qt5.13