A MSTSolver creating by Qt.