QZXing on Android and IOS



  • Hello, I have a quite weird problem with 3rd part libraries on IOS please look at the code below

    Camera {
            id: camera
            focus {
                      focusMode: Camera.FocusContinuous
                      focusPointMode: Camera.FocusPointCenter
                  }
        }
    
        VideoOutput {
            id: videsOut
            source: camera
            width: parent.width
            height: parent.height
            scale: 1.9
            rotation: 90
            filters: [ qrScanner ]
        }
    
        QZXingFilter {
            id: qrScanner
            property string qrResult: ""
    
            decoder {
                onTagFound: {
                    console.log("Why me" + tag);
                    qrResult = tag
                    camera.stop()
                    scannedDataReady()
                }
            }
        }
    

    On Android and Ubuntu machine everything works fine, but when i run the same code on IOS, signal tagFound() called two times.


  • Lifetime Qt Champion

    Hi,

    You have to add more information:

    • What version of Qt ?
    • What version of iOS ?
    • What version of QZXing ?
    • How did you build QZxing ?

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.