[QGIS-Developer] Plugin Manager looks for icon in http://
VOLPES-EXT, Jacky
Jacky.VOLPES-EXT at canal-de-provence.com
Fri Sep 13 01:53:47 PDT 2019
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
jacky.volpes-ext at canal-de-provence.com<mailto:jacky.volpes-ext at canal-de-provence.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190913/ceeffdc8/attachment.html>
More information about the QGIS-Developer
mailing list