Commit 6bea497c authored by LNJ's avatar LNJ 🖖

Update zxing-cpp and fix compilation

parent a2e24170
Pipeline #8766 passed with stages
in 47 minutes and 31 seconds
Subproject commit baecef0d69b81ace79cd44035ac859bc201f1847
Subproject commit 670e78e89549ef001710b2a98b9011f9b7b58d12
......@@ -55,7 +55,7 @@ void QrCodeDecoder::decodeImage(const QImage &image)
DecodeHints decodeHints;
// Advise the decoder to also decode rotated QR codes.
decodeHints.setShouldTryRotate(true);
decodeHints.setTryRotate(true);
// Advise the decoder to only decode QR codes.
std::vector<BarcodeFormat> allowedFormats;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment