Macheda joins QPR on loan