Window should be hidden when closed, window should not exit. Nheko (Matrix Client) is written with QT and exhibits the behavior that we want.