The former England U21 international expressed his delight at joining the Premier League side having previously tasted brief top-flight football with Reading
The 24-year-old broke into the first-team at the Madejski Stadium during the club's 2012-13 Premier League campaign, earning himself a call up to the England national squad in May 2013, yet not featuring.
|6/4||QPR are 6/4 with Paddy Power to beat Sunderland|
And now McCarthy, who has also won three caps at U21 level, revealed his delight at returning to the Premier League after narrowly missing out on a return through a play-off place with Reading last season.
"I'm over the moon to be back in the Premier League," told the club's official website.
"When you're growing up, all you dream about is playing in the best league in the world. I had a taste of it at Reading but to be back here now is fantastic."
QPR manager Harry Redknapp was thrilled to capture the highly rated shot-stopper and confirmed he will vie with Rob Green for the number one spot along with added competition from Brian Murphy.
"He's a great young goalkeeper with a great future in front of him," Redknapp commented. "I think he's got the potential to be a future England goalkeeper one day, so to have him here at QPR is fantastic.
"We've got Rob Green and Brian Murphy, and Alex's arrival here helps to further strengthen the goalkeeping department.
"I want to have competition for places in all areas of the pitch, and you can't have too much quality in your squad."