I have an image here that has been failing to decode and improve decoding error correction. You can try it now. What's the problem? Scanning the code on your phone works, but decoding this image has failed. The code and image are as follows:
QZXing decoder;
//Can only recognize QR codes
decoder.setDecoder(QZXing::DecoderFormat_QR_CODE);
decoder.setTryHarder(true);
decoder.setSourceFilterType(QZXing::SourceFilter_ImageNormal);
decoder.setTryHarderBehaviour(QZXing::TryHarderBehaviour_ThoroughScanning | QZXing::TryHarderBehaviour_Rotate);
QString Data = decoder.decodeImage(img);
After going through several stages, the errors are as follows:
Decoding phase 1: failed
Decoding phase 2, thorought scan: failed
Decoding phase 2, rotate: failed
Decoding failed: "This luminance source does not support rotation."
Error: Could not decode QR code.

I have an image here that has been failing to decode and improve decoding error correction. You can try it now. What's the problem? Scanning the code on your phone works, but decoding this image has failed. The code and image are as follows:

QZXing decoder;
//Can only recognize QR codes
decoder.setDecoder(QZXing::DecoderFormat_QR_CODE);
decoder.setTryHarder(true);
decoder.setSourceFilterType(QZXing::SourceFilter_ImageNormal);
decoder.setTryHarderBehaviour(QZXing::TryHarderBehaviour_ThoroughScanning | QZXing::TryHarderBehaviour_Rotate);
QString Data = decoder.decodeImage(img);
After going through several stages, the errors are as follows:
Decoding phase 1: failed
Decoding phase 2, thorought scan: failed
Decoding phase 2, rotate: failed
Decoding failed: "This luminance source does not support rotation."
Error: Could not decode QR code.