migration to QT/C++ of Chess game