change normal pointer of mesh to using qsharedpointer