How create Calendar in QML?
Unsolved
QML and Qt Quick
-
Hi! I use Qt 6.2.
How I can create Calendar in QML?
If i do thisimport QtQuick 2.15 Item { width: 1000 height: 550 Calendar { id: calendar anchors.fill: parent } }
then I get the error:
Cyclic dependency detected between "qrc:/Calendar.qml" and "qrc:/CalendarForm.ui.qml" QQmlComponent: Component is not ready
if do this:
import QtQuick.Controls 1.15
then get error:
module "QtQuick.Controls" version 1.15 is not installed
-
Hi. If you can wait to 6.3, there will be a Calendar ready to use. If not:
https://www.ics.com/blog/creating-qml-controls-scratch-datepicker
https://gist.github.com/ilnuribat/5cc6010aea7e35708ff90c65d7be5bcf
Hope this can help