[Overview][Constants][Types][Procedures and functions][Index] | Reference for unit 'LCLPlatformDef' (#lcl)

# LCLPlatformDirNames

Array constant with the directory names for supported LCL platforms.

## Declaration

Source position: lclplatformdef.pas line 47

`const LCLPlatformDirNames: array [TLCLPlatform] of string = ('gtk', 'gtk2', 'gtk3', 'win32', 'wince', 'carbon', 'qt', 'qt5', 'qt6', 'fpgui', 'nogui', 'cocoa', 'customdrawn', 'mui');`

## Description

LCLPlatformDirNames is a array of Strings with directory names for the platforms supported for the LCL. The directory names are relative to the ($LazarusDir)/lcl/interfaces base path and should not include path delimiters. Values in the array are indexed by TLCLPlatform enumeration values.

For example:

    // var SDir, SName: String;

    // SDir contains 'win32'
    SDir := LCLPlatformDirNames[lpWin32];

    // SName contains 'win32/win64'
    SName := LCLPlatformDisplayNames[lpWin32];

Use LCLPlatformDisplayNames to get the display name for a given TLCLPlatform enumeration value.

## See also

LCLPlatformDisplayNames |  | Array constant with the display names for supported LCL platforms.
TLCLPlatform |  | Represents the supported platforms for the LCL.