<div>I already started this pre-processor branching. Not for Qt:<span data-emoji-typing="true">:endl</span> but I have done it for QString:<span data-emoji-typing="true">:split()</span> which is also present from Qt 5.14. </div><br><div class="gmail_quote_attribution">On Jun 16 2021, at 2:16 am, Maik Qualmann <metzpinguin@gmail.com> wrote:</div><blockquote><div><div>But we already have a problem with Qt::endl, this only exists with Qt-5.14. We</div><div>should find another way of doing this than with pre-processeur branching.</div><div>Maybe define a macro.</div><br><div>Maik</div><br><div>Am Dienstag, 15. Juni 2021, 13:55:53 CEST schrieb Gilles Caulier:</div><div>> Hi,</div><div>></div><div>> No. We need to be compatible at least with Qt 5.12 LTS.</div><div>> Please make pre-processeur branching in source code by checking Qt version,</div><div>> as it already do in other place in digiKam.</div><div>></div><div>> exemple :</div><div>> https://invent.kde.org/graphics/digikam/-/blob/master/core/app/date/ddatepic</div><div>> ker.cpp#L547</div><div>></div><div>> Best</div><div>></div><div>> Gilles Caulier</div><div>></div><div>> Le mar. 15 juin 2021 à 13:52, Anjani Kumar <anjanik012@gmail.com> a écrit :</div><div>> > The recent changes to</div><div>> > https://invent.kde.org/graphics/digikam/-/tree/gsoc21-qt6-port makes it</div><div>> > compile only on newer Qt versions. So I it should be best Bump Qt version</div><div>> > to 5.15.2. Should I make the change?</div><div>> ></div><div>> > Thanks,</div><div>> > Anjani</div></div></blockquote>