The signal flag Q (Quebec) means that the ship is requesting customs clearance and entry inspection from the authorities.