I knew about the QR code generator in Inscape, because I was playing around with a
microcontroller and a web cam to read QR codes and barcodes there’s a few other s too.
That was a few years ago now, what I do remember is that some android apps were far better
at recognising the codes than others, another thing is that the QR code I did above had no errors
at a certain size, but resized, the read error rate went up to 30%, Inkscape tells you what that error is, maybe your library
has this function too, this would help avoiding settling on a dimension that is hard to read.
So if you have trouble reading a code with your phone then resizing it may help a lot.