LazVersion unit
Contains constants which identify the version numbers for the Lazarus IDE installed on the local system.
Values in the unit are used as the basis for corresponding LCL version
numbers in the lclversion.pas unit.
Please note that version numbers used for Lazarus, and the LCL and LazUtils libraries were changed starting with version 3.0. They continue to use a four-part version numbering scheme, like 3.0.0.1, where the component values are:
- Major version number
- Minor version number
- Release number
- Patch level
Starting in version 3.0, the release part of the full version number is no longer maintained. While still included in the full version value, the release number will always be 0 (zero) starting with version 3.0. Major and minor version numbers are used to identify a release or a fixes branch.
An even minor version number, like 3.0 or 3.2, represents a general availability release. An odd minor version number no longer indicates that it is a development (or trunk) version. Instead, an odd minor version number like 3.1 or 3.3 represents a fixes branch. For example: 3.1 would contain bug fixes for the 3.0 release and would be used as the basis for the 3.2 release. Development (or trunk) versions are always represented as minor version number 99; i.e. 3.99 is the development branch for the future 4.0 release. Also, selected commits from this branch are cherry picked to the 3.X family.
Patch numbers identify a release candidate or a general availability release. For example: 3.0.0 RC1 has the full version value of 3.0.0.1. RC2 has the value 3.0.0.2, and the released product could be 3.0.0.3.
lazversion.pas is part of the
lazutils package.
Procedures and functions
DirNameToLCLPlatform | function | |
GetBuildLCLWidgetType | function | |
GetLCLWidgetType | function | |
GetLCLWidgetTypeName | function | Routine called to get the type name for the widgetset class used on the platform. |
Types
TLCLPlatform | enumeration | |
TLCLWidgetTypeEvent | procedure type | |
TLCLWidgetTypeNameEvent | procedure type | Type used for the OnLCLWidgetTypeName function variable. |
Constants
laz_fullversion | constant | Numeric version number for the Lazarus IDE. |
laz_major | constant | Major version number for the Lazarus IDE. |
laz_minor | constant | Minor version number for the Lazarus IDE. |
laz_patch | constant | Patch level for the Lazarus IDE. |
laz_release | constant | Release number for the Lazarus IDE. |
laz_version | constant | String with the full version number for the Lazarus IDE. |
LCLPlatformDirNames | constant |
Variables
OnLCLWidgetType | variable | |
OnLCLWidgetTypeName | variable | Variable which contains the handler routine signalled to get the name for the current LCL widgetset. |
Uses
sysutils
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
