Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Working example for BARCODE reader using qzxing
Forum Updated to NodeBB v4.3 + New Features

Working example for BARCODE reader using qzxing

Scheduled Pinned Locked Moved Solved Mobile and Embedded
7 Posts 6 Posters 4.3k Views 1 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.
  • L Offline
    L Offline
    luca
    wrote on last edited by
    #1

    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-worxR 1 Reply Last reply
    0
    • L luca

      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-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @luca
      Here you go.
      But this easily could be found using the forum search...

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      L 1 Reply Last reply
      3
      • raven-worxR raven-worx

        @luca
        Here you go.
        But this easily could be found using the forum search...

        L Offline
        L Offline
        luca
        wrote on last edited by
        #3

        @raven-worx
        Thanks, it seems what I was looking for.

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

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

          (Z(:^

          1 Reply Last reply
          1
          • lukas_kosinskiL Offline
            lukas_kosinskiL Offline
            lukas_kosinski
            wrote on last edited by
            #5

            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.

            B 1 Reply Last reply
            1
            • lukas_kosinskiL lukas_kosinski

              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.

              B Offline
              B Offline
              biskero
              wrote on last edited by
              #6

              @lukas_kosinski does it work in Qt 6 ?

              1 Reply Last reply
              0
              • N Offline
                N Offline
                NobodySpecial
                wrote on last edited by
                #7

                @lukas_kosinski and @biskero ,
                I use SCodes in my application and find:

                1. It works perfectly with Qt5.15.18 on Windows and Android
                2. It works perfectly with Qt6.2.13 on Windows
                3. 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.
                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