In order to scan QR codes from New Leaf or Happy Home Designer, you will need to use the Nintendo Switch Online app on an Android or iOS device - you know, that app for voice chat and Splatoon 2 items - and you will need to connect it to your New Horizons save file.