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 2.7k 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 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
    • MesrineM Offline
      MesrineM Offline
      Mesrine
      wrote on 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
      1
      • L LZHD has marked this topic as solved on
      • MesrineM Mesrine

        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 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 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
          • MesrineM Mesrine

            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 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?

            MesrineM 1 Reply Last reply
            0
            • L LZHD

              @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?

              MesrineM Offline
              MesrineM Offline
              Mesrine
              wrote 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
              1
              • MesrineM Mesrine

                @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 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