Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. How to decode QR Code on wasm ?
Forum Updated to NodeBB v4.3 + New Features

How to decode QR Code on wasm ?

Scheduled Pinned Locked Moved Solved Qt for WebAssembly
7 Posts 3 Posters 4.4k 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
    LZHD
    wrote on 17 Feb 2025, 06:54 last edited by
    #1

    I try qzxing , The program crashes when decoding. "Application exit (Assertion failed: Exception thrown, but exception catching is not enabled. Compile with -sNO_DISABLE_EXCEPTION_CATCHING or -sEXCEPTION_CATCHING_ALLOWED=[..] to catch.)"

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Mesrine
      wrote on 17 Feb 2025, 22:13 last edited by Mesrine
      #2

      https://github.com/EddyTheCo/Esterv.Utils.QrCode
      https://eddytheco.github.io/qmlonline/?example_url=qt_qr_dec

      Any contribution/suggestion is welcome.

      L 2 Replies Last reply 18 Feb 2025, 10:07
      1
      • L LZHD has marked this topic as solved on 18 Feb 2025, 10:03
      • M Mesrine
        17 Feb 2025, 22:13

        https://github.com/EddyTheCo/Esterv.Utils.QrCode
        https://eddytheco.github.io/qmlonline/?example_url=qt_qr_dec

        Any contribution/suggestion is welcome.

        L Offline
        L Offline
        LZHD
        wrote on 18 Feb 2025, 10:07 last edited by
        #3

        @Mesrine Thanks, it looks very useful, I'll try it.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Dougf9
          wrote on 14 Mar 2025, 19:26 last edited by
          #4

          I can't figure out how to build a lib for qzxing so I can link it with my application. I've tried cmake and qmake and nothing out of the box works. How did you compile qzxing? I am using qt 6.8.2 on windows 11.

          1 Reply Last reply
          0
          • M Mesrine
            17 Feb 2025, 22:13

            https://github.com/EddyTheCo/Esterv.Utils.QrCode
            https://eddytheco.github.io/qmlonline/?example_url=qt_qr_dec

            Any contribution/suggestion is welcome.

            L Offline
            L Offline
            LZHD
            wrote 19 days ago last edited by
            #5

            @Mesrine Hello, I have been using this project with single thread before, but recently I switched to a multi-threading suite and cannot be compiled. It will prompt "wasm-ld: error: --shared-memory is disabled by aruco_board.cpp.o because it was not compiled with 'atomics' or 'bulk-memory' features." How to solve it?

            M 1 Reply Last reply 18 days ago
            0
            • L LZHD
              19 days ago

              @Mesrine Hello, I have been using this project with single thread before, but recently I switched to a multi-threading suite and cannot be compiled. It will prompt "wasm-ld: error: --shared-memory is disabled by aruco_board.cpp.o because it was not compiled with 'atomics' or 'bulk-memory' features." How to solve it?

              M Offline
              M Offline
              Mesrine
              wrote 18 days ago last edited by
              #6

              @LZHD Hi, from the top of my head you need to compile opencv for wasm with multi threading support. Because if opencv is not found on your system it will download it from my github actions. but the downloaded Opencv-wasm library does not have multithreading support.

              To be of more help you could open a detailed issue on the repo.

              L 1 Reply Last reply 18 days ago
              1
              • M Mesrine
                18 days ago

                @LZHD Hi, from the top of my head you need to compile opencv for wasm with multi threading support. Because if opencv is not found on your system it will download it from my github actions. but the downloaded Opencv-wasm library does not have multithreading support.

                To be of more help you could open a detailed issue on the repo.

                L Offline
                L Offline
                LZHD
                wrote 18 days ago last edited by
                #7

                @Mesrine Thanks, I also realize it is this problem and am trying to compile multi-threaded Opencv-wasm library

                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