FastReports FMX Skia, error when call DesignReport. Solution
I download trial version to test a project where use FMX and Skia. The skia docs recommend to put a lines in SourceProject.pas with:
uses
..., FMX.Skia, ...
GlobalUseSkia := True;
But when you do that and call frxReport.DesignReport to show the report designer raise an exception "Invalid Printer class: TFakePrinterWin".
But all go normal when omit the line "GlobalUseSkia := True" or comment.
I post because spend a lot of time trying to solve it.
Comments
FR FMX doesn't have Skia support
When using FastReports version 2024.2.9 with Delphi 11.3, everything works seamlessly, even with Skia enabled.
However, when upgrading to FastReports version 2025.1.1 and Delphi 12.2 Patch 2, the specified error occurs. Disabling Skia resolves the issue.