qt application closed, a message error of microsoft appear