Pentago game using Qt