Author Topic: Delphi to Lazarus  (Read 1130 times)


  • New member
  • *
  • Posts: 6
Delphi to Lazarus
« on: November 04, 2021, 10:42:30 am »
I have a large Delphi application in Windows that I want to port to MacOS and Linux.
The application has 2 parts: a console part and GUI part in VCL.

I already made the console part compatible with FreePascal. Of course, I also could use Delphi with PAServer to port that part.

The GUI is harder to translate. I guess, I have 2 possibilities:
1) using Delphi: Port VCL to FireMonkey then use PAServer. But does FireMonkey really run nicely under MacOS or Linux? Or is it a crutch? I don't know! Furthermore, FireMonkey is very different from VCL.

2) Translate my VCL to Lazarus LCL. My question is:
Does LCL run under MacOS and Linux? What are the incompatibilities?

I would prefer the second solution. How to proceed?

Thanks for help


  • Hero Member
  • *****
  • Posts: 1577
    • UVviewsoft
Re: Delphi to Lazarus
« Reply #1 on: November 04, 2021, 10:47:42 am »
Does LCL run under MacOS and Linux?
 What are the incompatibilities?
Yes, it does. You will find incompatabilities on converting, when "unknown property" (and the like) errors will appear. You can use converter - "Tools / Delphi convertion".


  • Hero Member
  • *****
  • Posts: 9171
Re: Delphi to Lazarus
« Reply #2 on: November 04, 2021, 10:51:19 am »
Does the GUI depend on third-party components? If yes, you must check if they can be used with Lazarus. Or you should find a replacement for them by standard Lazarus controls or by those available for example in the Online-Package-Manager.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...


  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4052
  • I like bugs.
Re: Delphi to Lazarus
« Reply #3 on: November 04, 2021, 11:32:53 am »
How to proceed?
Test how it converts to LCL. Let us know about problems.
Why don't you try Lazarus on MacOS or Linux? I run it all the time on Linux and it works well.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.


TinyPortal © 2005-2018