Qt QR code scanner
-
Hi,
Take a look at this KDAB article about QZxing.
-
Why do you think that ? The latest commit is from 8 days ago.
-
From the README for ZXing:
Project in Maintenance Mode Only
The project is in maintenance mode, meaning, changes are driven by contributed patches. Only bug fixes and minor enhancements will be considered. The Barcode Scanner app can no longer be published, so it's unlikely any changes will be accepted for it. There is otherwise no active development or roadmap for this project. It is "DIY".That's where I got my former comment from.
-
Well, the question is: do you need anything that is not already available through that library ?
The fact that it is in maintenance mode does not mean it's dead. -
Does anybody know of a Qt-based/compatible, cross-platform QR code scanner? I'm thinking about setting up QR code support in my app but I don't know of any scanner backends. I am leaning towards using KDE's Prison for the QR code generation, though.
@LorenDB Use ZBAR library for any kind of code scanning
you can get complete solution for it :
follow the this link
https://github.com/ZBar/ZBar -
I've been using QZxing on multiple projects, for years - it "just works". Even if it's not actively developed, it matters little - it works very well and has all the functions (that I care about anyway).
-
I've been using QZxing on multiple projects, for years - it "just works". Even if it's not actively developed, it matters little - it works very well and has all the functions (that I care about anyway).
Hey @sierdzio,
have you used qzxing on Qt 6? I need to create a QR Scanner for Android and looking for a solution.
Best -
Hey @sierdzio,
have you used qzxing on Qt 6? I need to create a QR Scanner for Android and looking for a solution.
Best@Bondrusiek no, I have not tried. Maybe it still works.
-
@Bondrusiek no, I have not tried. Maybe it still works.
@sierdzio ok, thanks for reply.
-
You might want to check out KDE’s Prison for generation, like you mentioned. For scanning, Qt doesn’t have a fully integrated solution out of the box, but there are a couple of directions you can take:
Use ZXing-C++ which is cross-platform and works well with Qt projects.
Another option is to wrap platform-native libraries (like Android’s ML Kit or iOS’s AVFoundation) if you’re targeting mobile specifically.
If you just want a quick way to test things out or validate the results from your app, you can try an external tool such as this https://2scan.net/
. It lets you upload images or use your camera to read QR codes, which is handy when debugging.