Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt QR code scanner
Forum Updated to NodeBB v4.3 + New Features

Qt QR code scanner

Scheduled Pinned Locked Moved Unsolved General and Desktop
12 Posts 6 Posters 5.3k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SGaistS SGaist

    Hi,

    Take a look at this KDAB article about QZxing.

    LorenDBL Offline
    LorenDBL Offline
    LorenDB
    wrote on last edited by
    #3

    @SGaist Hmm, I'd forgotten about QZXing. It seems that ZXing is no longer being actively developed? Or maybe it is just no longer developed by the original owner.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #4

      Why do you think that ? The latest commit is from 8 days ago.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      LorenDBL 1 Reply Last reply
      1
      • SGaistS SGaist

        Why do you think that ? The latest commit is from 8 days ago.

        LorenDBL Offline
        LorenDBL Offline
        LorenDB
        wrote on last edited by
        #5

        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.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #6

          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.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          3
          • LorenDBL LorenDB

            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.

            Ketan__Patel__0011K Offline
            Ketan__Patel__0011K Offline
            Ketan__Patel__0011
            wrote on last edited by
            #7

            @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

            1 Reply Last reply
            2
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #8

              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).

              (Z(:^

              BondrusiekB 1 Reply Last reply
              4
              • sierdzioS sierdzio

                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).

                BondrusiekB Offline
                BondrusiekB Offline
                Bondrusiek
                wrote on last edited by
                #9

                Hey @sierdzio,
                have you used qzxing on Qt 6? I need to create a QR Scanner for Android and looking for a solution.
                Best

                sierdzioS 1 Reply Last reply
                0
                • BondrusiekB Bondrusiek

                  Hey @sierdzio,
                  have you used qzxing on Qt 6? I need to create a QR Scanner for Android and looking for a solution.
                  Best

                  sierdzioS Offline
                  sierdzioS Offline
                  sierdzio
                  Moderators
                  wrote on last edited by
                  #10

                  @Bondrusiek no, I have not tried. Maybe it still works.

                  (Z(:^

                  BondrusiekB 1 Reply Last reply
                  0
                  • sierdzioS sierdzio

                    @Bondrusiek no, I have not tried. Maybe it still works.

                    BondrusiekB Offline
                    BondrusiekB Offline
                    Bondrusiek
                    wrote on last edited by
                    #11

                    @sierdzio ok, thanks for reply.

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      Cristof
                      wrote last edited by
                      #12

                      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.

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved