To reproduce, try to debug an empty exe file as a terminal app on Windows. Change-Id: Ie47848be04b8f7d4a8dae485d938a71febfed1ab Reviewed-by: hjk <hjk@qt.io>