Binding between QGIS custom form (Qt Designer) and date/time field in SpatiaLite database table?
You need to edit the properties of yours fields Date and Time in QGIS.
- Go to the properties of your layer.
- Select the Fields tab.
- In the line of your field (date and time), click on Line edit.
- Select Date/Time.
- And then you can specify the format of your date or time -> it must be the same as defined in Qt Designer!
If the properties are the same in your Qt form and in the fields parameters of your layer, the binding will be done automatically.