Re: [QML] Having different imports depending on Qt version

2022-06-19 Thread Johnny Jazeix
Le dim. 19 juin 2022 à 13:05, Albert Astals Cid a écrit : > El dissabte, 18 de juny de 2022, a les 14:24:21 (CEST), Johnny Jazeix va > escriure: > > Hi, > > > > for GCompris (compiled in Qt5 only), we have activities using the > Calendar > > qml object. > > > > Previously, we imported the one fro

Re: [QML] Having different imports depending on Qt version

2022-06-19 Thread Albert Astals Cid
El dissabte, 18 de juny de 2022, a les 14:24:21 (CEST), Johnny Jazeix va escriure: > Hi, > > for GCompris (compiled in Qt5 only), we have activities using the Calendar > qml object. > > Previously, we imported the one from QtQuick.Controls 1 but this module has > been deprecated and we switched

[QML] Having different imports depending on Qt version

2022-06-18 Thread Johnny Jazeix
Hi, for GCompris (compiled in Qt5 only), we have activities using the Calendar qml object. Previously, we imported the one from QtQuick.Controls 1 but this module has been deprecated and we switched to QtQuick.Controls 2. This component hasn't been implemented in QtQuick.Controls 2 before Qt6.3 (