setVersion() to set the version properties in a plugin

How does setVersion() work?

I don not see any mention of setVersion in the doc

If you are mentioning the setVersion in the plugin Support library: nobody uses this.

setVersion() in the openfx library. Why cant we use this? and where can i read more about it? usage etc

currently Natron supports plugin Major and minor version like : v1.2. However if i want to display the version as v1.02.03 ? How can i achieve this?

you have to use setVersion in YourPlugin::describe(...), the same way the plugin name, label, and grouping are set.

Natron doesn’t use that property, so even if you set it, Natron won’t use that property.

If you really want to make the plugin version visible, add an “About…” push button, and use sendMessage( Message::eMessageMessage, "", "This is version 1.02.03 of my great plugin, (c)2018 Rashmi Gupta" );