QR Code: Enable All Versions

By default, the QR Code component included with ReportBuilder supports code versions 1 – 10.  To enable all QR Code versions (1 – 40), follow the steps below.

 

1. Copy the ppBarCode2DQRCode.pas file from the \RBuilder\Source\… directory to the \RBuilder\Lib\…* directory.
* \Win32 or \Win64 for multi-platform Delphi versions

2. Open the copied file in Delphi and remove the “x” from the comment near the top of the unit defining the ALLQRVERSIONS directive.  The code should look like the following…

unit ppBarCode2DQRCode;

interface

{$I ppIfDef.pas}

{Remove x to enable all QRCode versions (1 - 40).  By default only version 1 -
10 are available.  Enabling this option will increase application size by 1MB or
more.}

{$DEFINE ALLQRVERSIONS}

3. Rebuild and run your application.

 

Note that enabling all versions will increase the executable size of the application by at least 1 MB.