Ugochukwu Mmaduekwe 5 роки тому
батько
коміт
78244d905f

+ 0 - 3
QRCodeGenLib/src/Utils/QlpConverters.pas

@@ -8,12 +8,9 @@ uses
 {$IF DEFINED(VCL)}
   Vcl.Graphics,
 {$ELSEIF DEFINED(FMX)}
-  FMX.Graphics,
-  UIConsts,
   UITypes,
 {$ELSEIF DEFINED(LCL)}
   Graphics,
-  Interfaces, // Added so that the LCL will Initialize the WidgetSet
 {$ELSEIF DEFINED(FCL)}
   FPImage, // For FCL Image Support
 {$IFEND}

+ 1 - 1
QRCodeGenLib/src/Utils/QlpQRCodeGenLibTypes.pas

@@ -17,7 +17,7 @@ uses
   Graphics,
   Interfaces, // Added so that the LCL will Initialize the WidgetSet
 {$ELSEIF DEFINED(FCL)}
-  FPWriteBMP,
+  FPWriteBMP, // without this, writing to bitmap will fail
   FPImage, // For FCL Image Support
 {$IFEND}
   SysUtils;