Dear all,

I have a local repository for my plugins, with the icon path for each plugin in 
the corresponding tag of the xml.

Example :

<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet  type="text/xsl" href="./plugins.xsl" ?>
<plugins>
  <pyqgis_plugin name="my great plugin" version="1.2">
    [...]
    <icon>icons/my_great_plugin/icon.png</icon>
    [...]
  </pyqgis_plugin>
</plugins>

The problem is that the Plugin Manager is looking for the path 
http://icons/my_great_plugin/icon.png when the plugin is not yet installed.
I can force my deployment script to write an absolute path in the <icon> tag, 
with the file:// protocol, but then the Plugin Manager looks for 
http://file://C:/my_abs_path/icons/my_great_plugin/icon.png<http://file:/C:/my_abs_path/icons/my_great_plugin/icon.png>

When the plugin is installed, everything works good.
Any idea ?

Thanks a lot,
Best regards

Jacky Volpes
HR Team pour la Société du Canal de Provence | 2SI - QGIS
Le Tholonet, CS70064
[email protected]<mailto:[email protected]>

_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to