AL Code as per below

Create New Report with having barcode image.

In RDL design add image type control and put the barcod2 variable into that like we do normally for Picture control.

 

 

Global Variable

 

var
BarCode2: text;
Run the report in BC and see the output, it will give you a QR Code as image.