From 02a419826752e45ff12d9e197000d7d22e32647c Mon Sep 17 00:00:00 2001 From: zeljko Date: Sun, 12 Feb 2017 12:53:28 +0000 Subject: [PATCH] Qt5: fixed QtHandle type git-svn-id: trunk@54141 - --- lcl/interfaces/qt5/qt56.pas | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lcl/interfaces/qt5/qt56.pas b/lcl/interfaces/qt5/qt56.pas index 099cd51e56..a31b4f42b3 100644 --- a/lcl/interfaces/qt5/qt56.pas +++ b/lcl/interfaces/qt5/qt56.pas @@ -69,8 +69,14 @@ type r,g,b : word; Pad : word; end; - - QtHandle = integer; + + {$IFDEF DARWIN} + {void*} + QtHandle = PtrUInt; + {$ELSE} + {unsigned long on x11, dword on windows} + QtHandle = LongWord; + {$ENDIF} PQReal = ^QReal; {$ifdef CPUARM} QReal = single;