lazarus/lcl/interfaces/qt/qtdefines.inc
2021-04-13 11:41:26 +00:00

20 lines
808 B
PHP

{******************************************************************************
Centralized includefile for some common qt defines
******************************************************************************}
{$IFNDEF QTOPIA}
{$IF DEFINED(LINUX) or DEFINED(FREEBSD) or DEFINED(NETBSD)}
{$DEFINE HASX11}
{$ENDIF}
{$IF DEFINED(DARWIN) AND DEFINED(CPU64)}
{$DEFINE QTCOCOA}
{$ENDIF}
{$DEFINE QTSCROLLABLEFORMS}
{removed usage of nativeeventloop because of issue #34982}
{.$DEFINE QtUseNativeEventLoop}
{$IFDEF DARWIN}
{enable this define if you have problems when dialogs are shown behind application}
{.$DEFINE TQTMESSAGEBOXUSEPARENT}
{$ENDIF}
{.$DEFINE QTDIALOGSUSEHTMLTEXT} {we use plain text for dialogs - if enabled then dialogs can contain html formatted text}
{$ENDIF}