[Qgis-developer] Field Date Shapefile

motta.luiz at gmail.com motta.luiz at gmail.com
Wed Dec 2 05:54:13 EST 2009

Hi Martin,

Thank  you invite to me make this work.
When i finished the plugin i will start program in C++ in QGIS.


Martin Dobias escreveu:
> On Tue, Dec 1, 2009 at 11:26 PM, motta.luiz at gmail.com
> <motta.luiz at gmail.com> wrote:
>> I am making plugin to write Field Date in Shapefile.
>> The QGis (1.3) don´t permit create field Date.
>> I am use GDAL/OGR to make this field (creating the Layer).
>> I populate with QsField.addAttribute(id, QVariant), but when i open in QGis
>> the value of Date field is NULL.
>> The layer in QGis show field type Date, and i try change value, don´t have
>> success, the value back to NULL.
>> Can work format Date in QGIS ?
> Hi Luiz,
> currently in OGR provider there's support only for strings, integers
> and doubles. However it wouldn't be much work to add date (or
> date+time) support - so if you have some c++ knowledge you might want
> to give it a try and prepare a patch...
> Regards
> Martin

More information about the Qgis-developer mailing list