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.6k 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.
  • S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 17 Dec 2020, 18:12 last edited by
    #2

    Hi,

    Take a look at this KDAB article about QZxing.

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

    L 1 Reply Last reply 17 Dec 2020, 18:42
    2
    • S SGaist
      17 Dec 2020, 18:12

      Hi,

      Take a look at this KDAB article about QZxing.

      L Offline
      L Offline
      LorenDB
      wrote on 17 Dec 2020, 18:42 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
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 17 Dec 2020, 19:09 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

        L 1 Reply Last reply 17 Dec 2020, 19:10
        1
        • S SGaist
          17 Dec 2020, 19:09

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

          L Offline
          L Offline
          LorenDB
          wrote on 17 Dec 2020, 19:10 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
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 17 Dec 2020, 19:13 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
            • L LorenDB
              17 Dec 2020, 17:24

              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.

              K Offline
              K Offline
              Ketan__Patel__0011
              wrote on 20 Dec 2020, 11:59 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
              • S Offline
                S Offline
                sierdzio
                Moderators
                wrote on 20 Dec 2020, 17:34 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(:^

                B 1 Reply Last reply 28 Aug 2023, 16:15
                4
                • S sierdzio
                  20 Dec 2020, 17:34

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

                  B Offline
                  B Offline
                  Bondrusiek
                  wrote on 28 Aug 2023, 16:15 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

                  S 1 Reply Last reply 29 Aug 2023, 06:47
                  0
                  • B Bondrusiek
                    28 Aug 2023, 16:15

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

                    S Offline
                    S Offline
                    sierdzio
                    Moderators
                    wrote on 29 Aug 2023, 06:47 last edited by
                    #10

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

                    (Z(:^

                    B 1 Reply Last reply 29 Aug 2023, 11:15
                    0
                    • S sierdzio
                      29 Aug 2023, 06:47

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

                      B Offline
                      B Offline
                      Bondrusiek
                      wrote on 29 Aug 2023, 11:15 last edited by
                      #11

                      @sierdzio ok, thanks for reply.

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        Cristof
                        wrote 13 days ago 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