<div dir="ltr">I would say it's a case of bad docs as it's just a QVariant::Type and other providers use it already.<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 29, 2017 at 2:25 PM, Mark Johnson <span dir="ltr"><<a href="mailto:mj10777@googlemail.com" target="_blank">mj10777@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class="">>> <span style="font-size:12.8px">What makes you think that?</span></span><div><span style="font-size:12.8px">Based on the implementation of the QgsSpatiaLiteProvider (which only supports TEXT, INTEGER and DOUBLE) and the documentation of QgsField.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">>> Constructor. Constructs a new QgsField object.</span></div><div><div><span style="font-size:12.8px">     * \param type Field variant type, currently supported: String / Int / Double</span></div><div><span style="font-size:12.8px">     * \param typeName Field type (e.g., char, varchar, text, int, serial, double).</span></div><div><span style="font-size:12.8px">     * Field types are usually unique to the source and are stored exactly</span></div><div><span style="font-size:12.8px">     * as returned from the data store.</span></div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">and the usage of type in displayString and convertCompatible.</span></div><span class="HOEnZb"><font color="#888888"><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Mark</span></div></font></span></div>
<br>______________________________<wbr>_________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br></blockquote></div><br></div>