Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
Delphi

First Steps with FMXLinux

RAD Studio Bundles FMX Linux

Embarcadero announced the immediate availability of FMX Linux for all Delphi Enterprise and Architect customers in a blog post I published yesterday at https://community.idera.com/developer-tools/b/blog/posts/announcing-fmx-linux-bundling-with-delphi-and-rad-studio.

In short, you can use this library to create Linux client applications with FireMonkey that are fully cross-platform compatible.

You can read the announcement above  and also check:

FMX Linux Practical Introduction

So how does it work? First, you need to use RAD Studio 10.3.1 and download the FMX Linux package from GetIt:

Second, open or create a FireMonkey multi-device application and use the special menu at the top of the Project Manager local menu (with the project selected) — notice this is a temporary solution needed until we fully enable Linux FireMonkey support in the IDE:

At this point the Linux platform is available on the project’s target platforms:

Next, create an application with a user interface:

Add some code to it:

Build it for Linux, open PASrver on your Linux machine, and deploy it (you can also run/debug it if everything is configured properly). From the Linux box, you can use a file manager or a terminal window to reach the scratch-dir with PAServer artifacts:

Now run the application, as with the command above and you get ti up and running on your Linux desktop:

That’s all to get started. For more information and prerequisite on the target machine, read the docwiki information in the link above. In my case, I installed a complete gnome desktop, but that’s not strictly required.

Enjoy this new great additional feature, which brings Linux on par with all other platforms Delphi supports!

In the next blog, learn about the value of the added full GUI and X windows support to the Windows Subsystem Linux (WSL2).

 

Interested in building Linux applications with FireMonkey? Try the Cross-Platform Development Framework, which can help you create & design apps in Delphi or C++ environments.

What's Coming in Delphi, C++Builder, and RAD Studio 11.2 Alexandria

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

Marco is one of the RAD Studio Product Managers, focused on Delphi. He's the best selling author of over 20 books on Delphi.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES