ftylitak / qzxing

Qt/QML wrapper library for the ZXing library. 1D/2D barcode image processing library
Apache License 2.0
621 stars 340 forks source link

No QR code is detected on Qt6.4/Ubuntu #227

Closed MarcVanDaele90 closed 1 year ago

MarcVanDaele90 commented 1 year ago

I'm porting my application from Qt5.12 to Qt6.4. I'm trying the example on https://github.com/ftylitak/qzxing/blob/master/examples/QZXingLive/main_qt6_2.qml and I'm using the latest master version from QZXing.

I'm testing on Linux Mint 20.2 and

[20221211 14:42:03.821 CET  - qzxing started
[20221211 14:42:03.897 CET  - qzxing frame finished: false 75 58.00773480662983 905
[20221211 14:42:03.897 CET  - qzxing started
[20221211 14:42:03.942 CET  - qzxing frame finished: false 44 57.99227373068432 906
...

but when I hold a QR code inside the captureZone, I never seem to get a tag.

UPDATE: code does work correctly for at least one barcode and one qr-code.
It did not work for one (printed) QR code I used for testing.
Not sure what was special about that one, but this issue can be closed.