To get a head start with this, perform a quick web search for the terms “lclwidgettype qt5”. How to actually switch the widget set is outside the scope of this article, but I’ll probably cover this in a future article. The installation instructions are such, that everything is ready to build your GUI based applications, based on the QT5 widget set as well. By default, the Lazarus IDE on Linux builds your GUI application based on the GTK2 widget set. Specifically, I’ll present instructions for installing the Lazarus IDE on Ubuntu, Debian, Fedora and openSUSE. In this article you’ll learn how to install the Lazarus IDE on Linux. Furthermore, it is relatively easy to build DEB and RPM packages of Lazarus based applications A prerequisite to request your Lazarus based application for inclusion in the package repositories of these Linux distributions. It is readily available in the package manager of: Ubuntu, Debian, Fedora and openSUSE. Support of Lazarus in Linux distributionsĪll popular Linux distributions consider Lazarus a first class citizen. If you are interested in giving it a try, refer to the article about getting started with Double Commander. Personally, I use Double Commander on a daily basis. Double Commander, a twin panel file manager.Who uses Lazarus for developing their GUI applications? Two popular applications come to mind: Examples of popular GUI applications developed with Lazarus Above popular new languages such as Go and Rust, but way below C, C++ and Python. At the time of this writing, Object Pascal’s popularity sits comfortable in the top 20 of the TIOBE index. Unfortunately, it doesn’t share the popularity that these two languages offer. The difficulty of Object Pascal lies somewhere between C and Python. Bindings exists such that you can program wxWidgets and Qt applications in different programming languages, such as C, C++ and Python. This is where wxWidgets and Qt offer more options. I can highly recommend it though, especially if you have an interest in developing cross-platform GUI applications. Yet, not everyone is willing to go through the effort to learn it. Object Pascal is an elegant, powerful and fairly easy to learn object-oriented programming language. Why don’t more developers build their GUI applications with Lazarus? Probably because you need to use the Object Pascal programming language. This can have a negative impact in case they decide on changing the licensing terms (looking at you, Qt). Both wxWidgets and Qt enable you to develop cross-platform, but you cannot switch to a different user interface widget set. Next, you can open and build the same project in Lazarus on Windows or macOS and voilà, it runs.Įspecially this first part is what sets Lazarus apart from other GUI application development tools. You can develop an application on and for Linux. With the flip of a switch (macro LCLWidgetType to be exact), you can build your Linux application based on the GTK2 interface or the QT5 interface.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |