This PR addresses:
this comment:
If it works without pkg-config, then we should remove the usage of pkgconfig entirely, rather than say it will work without it, and leave the dependency in the code?
and this one:
While cleaning up this module, you may also get rid of
SelectLibraryConfigurations. We don't want thatQRencode_LIBRARYorQRencode_LIBRARIESis used anywhere; there is no need to set a variable with that name.