Take a screen-shot of the QR as it appears on the screen from the whatever it is app that generates the QRs, and then scan the screen-shot with Goggles or Wechat or other QR code reader.
But quite frankly I've never heard of going through such steps just to connect into a WiFi network. I've seen for some public WiFi they have a QR on a wall or board somewhere, and you scan that with the phone's camera.