QR-Code scanning system API

https://github.com/sailfishos/qr-filter-qml-plugin isn’t available on the system despite being used for the QR scanner in the camera app, is it?

It’s installed here:

$ rpm -q qr-filter-qml-plugin
qr-filter-qml-plugin-1.0.3-1.5.1.jolla.armv7hl

$ rpm -ql qr-filter-qml-plugin
/usr/lib/qt5/qml/Sailfish/QrFilter/libqrfilter.so
/usr/lib/qt5/qml/Sailfish/QrFilter/qmldir
/usr/libexec/zxing-daemon
/usr/share/dbus-1/services/org.sailfishos.zxing.service
/usr/share/licenses/qr-filter-qml-plugin-1.0.3
/usr/share/licenses/qr-filter-qml-plugin-1.0.3/LICENSE

However it seems the docs are wrong re. the name, it 's not Amber.QrFilter - but I haven’t tried it:

$ cat /usr/lib/qt5/qml/Sailfish/QrFilter/qmldir
module Sailfish.QrFilter
plugin qrfilter

This is on SFOS 4.2 maybe that changed for 4.3

1 Like

Indeed it has.

cat /usr/lib64/qt5/qml/Amber/QrFilter/qmldir 
module Amber.QrFilter
plugin qrfilter
3 Likes