uses
SysUtils, Classes, Graphics, Forms, Dialogs, TypInfo,
{$IFDEF LINUX}
QStdCtrls, QButtons, QControls, DesignIntf, DesignEditors;
{$ELSE}
StdCtrls, Buttons, Controls,
{$IFDEF VER140+} // Delphi 7 up
{$IFDEF CLR}
Borland.Vcl.Design.DesignIntf, Borland.Vcl.Design.DesignEditors,
System.ComponentModel;
// If you encounter a compile error here, you must manually add
// Borland.Studio.Vcl.Design.dll to the 'Requires' section of the
// ADOM
package by right-clicking on the 'Requires' folder and
// selecting 'Add Reference...', etc.
{$ELSE}
DesignIntf, DesignEditors;
{$ENDIF}
{$ELSE}[COLOR="Red"] DsgnIntf[/COLOR]; {$ENDIF}
{$ENDIF}