Not the quarterdeck, no, as that's normally a semi-enclosed bit under the flight deck. You only thing you'd be saluting is cigarette butts, stokers loafing and a QRMB.
As for saluting coming over the gangway, this has made a welcome resurgence in recent years. For most of the 90s, only officers (and FOST WOs) did it, but since about 4 years ago, everyone seems to do it, every time. Which is nice.