On 16. 07. 2024. 13:41, Matthieu Giroux via lazarus wrote:
Yes

I must use :
{$IFDEF lclqt6}

{$ENDIF}

But when QT7 will be released it should not work that.

Why do you use any Qt at all ? If you call some Qt function maybe that function won't exist in next Qt version. Why don't you create your define for all Qt's at one place and use it inside your code ?

zeljko
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to