issue when switch between two qt apps
