Closed schnider-ru closed 1 year ago
Thanks!
Unfortunately I had to remove it due to build errors. Maybe you can check it? A quick look discovered more USE_VCL_BITMAP usages.
Made a new PR
Ok I tested it but still build errors: They are happening in the DUnitXTestProject, LeakTestProject. [dcc32 Error] Test.pas(1246): E2010 Incompatible types: 'Vcl.Graphics.TBitmap' and 'FMX.Graphics.TBitmap'
FMXTestproject [DCC Fatal Error] ZXing.ScanManager.pas(11): F2613 Unit 'VCL.Graphics' not found.
The best to test is with the solution -> Build all, after that make sure the UnitTest project is giving the greens everywhere.
It's all building now
By using the standard conditional define, there is no need to define custom in every project that uses ZXing