ProblemSolver -> QSharedPointer