fix hide console on Qt5