Yes I must use :{$IFDEF lclqt6} {$ENDIF} But when QT7 will be released it should not work that.
Matthieu Giroux 13 Rue Fr Tanguy PRIGENT A.15 - 35000 RennesTél : 09 61 37 01 82 - 06 44 733 008 http://www.liberlog.fr Le mardi 16 juillet 2024 à 13:39:28 UTC+2, Mattias Gaertner via lazarus <lazarus@lists.lazarus-ide.org> a écrit : On 7/16/24 12:11, Matthieu Giroux via lazarus wrote: > Hello ! > I deliver freely www.Ancestromania.euI want to deliver it for QT.But there is > no generic directive to define qt.So if i forget to change the directive for > next qt version, qt version is uncomplete.If there were an ifdef qt > directive, i should not have to think to change my code for tge next qt > version.Could Lazarus team define a qt directive to not have to upgrade forms > code ? > Thanks for Lazarus Project ! Do you mean {$IFDEF lclqt5} {$ENDIF} ? Mattias -- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
-- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus