Working example for BARCODE reader using qzxing
-
Hi all,
I need to read a barcode on my Android Qt 5.6 application.
I read about qzxing and tried to build the examples but all the example they provide seems to be very old and doesn't build.Where can I find a very simple working example for Android?
Are there some alternatives?
Thanks
Luca
-
-
@raven-worx
Thanks, it seems what I was looking for. -
Took me almost a year, but finally, I can also recommend trying out MBarcodeScanner. Supports barcode/ QR code detection and region highlighting (can show where the match has been found live on the camera feed).
-
SCodes is also good library for scanning, or even generating QR/Barcodes. It's based on latest C++ port of ZXing library. You can also easily use it in QML projects.
-
@lukas_kosinski does it work in Qt 6 ?
-
@lukas_kosinski and @biskero ,
I use SCodes in my application and find:- It works perfectly with Qt5.15.18 on Windows and Android
- It works perfectly with Qt6.2.13 on Windows
- It fails to work with Qt6.2.13 on Android.
With the latter, I get this error: Cannot make QOpenGLContext current in a different thread
I have left further details about this issue on the github site of SCodes.