Commit 2705fbb7 authored by Volker Krause's avatar Volker Krause
Browse files

Fix version check for new ZXing barcode format enums

parent 69a8fdab
Pipeline #42950 passed with stage
in 10 minutes and 37 seconds
......@@ -121,7 +121,7 @@ struct {
BarcodeDecoder::BarcodeType type;
ZXing::BarcodeFormat zxingType;
} static constexpr const zxing_format_map[] = {
#if ZXING_VERSION >= QT_VERSION_CHECK(1, 1, 0)
#if ZXING_VERSION > QT_VERSION_CHECK(1, 1, 1)
{ BarcodeDecoder::Aztec, ZXing::BarcodeFormat::Aztec },
{ BarcodeDecoder::QRCode, ZXing::BarcodeFormat::QRCode },
{ BarcodeDecoder::PDF417, ZXing::BarcodeFormat::PDF417 },
......
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