<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">Hello Bo,</div><div dir="ltr"><br></div><div dir="ltr">Thank you for your answer. I played a bit with the pb_tool and pyrcc and reinstalled pb_tool. Now it works, but I cannot say exactly why ^^</div><div dir="ltr"><br></div><div dir="ltr">Sincerely,</div><div dir="ltr">Christoph</div><div dir="ltr"><br>Am 30.08.2019 um 10:59 schrieb Bo Victor Thomsen <<a href="mailto:bo.victor.thomsen@gmail.com">bo.victor.thomsen@gmail.com</a>>:<br><br></div><blockquote type="cite"><div dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Hi Christoph -</p>
<p>The resources.py file is generated (transpiled) from
resources.qrc using a tool called pyrcc5.<br>
<br>
This tool *should* be called from pb_tools. However if your path
command doesn't contain the directory for pyrcc5.py. It won't
work.</p>
<p>A workaround. Create a file with these commands</p>
<p><jlofnnfalekkabhm.png></p>
<p>I'm showing it as a bitmap, because 20.000 virus scanners would
howl if I was sending it as actual dos commands.</p>
<p> The command file will create a new resources.py overwriting the
existing resources.py file using the contents of resources.qrc</p>
<p>You can remove the "pause" commands <br>
</p>
<pre class="moz-signature" cols="72">--
Med venlig hilsen / Kind regards
Bo Victor Thomsen</pre>
<p>Den 30-08-2019 kl. 09:25 skrev Christoph Jung:<br>
</p>
<blockquote type="cite" cite="mid:AE6259EF-DB51-415D-9A93-C4F93DDD24B3@gmail.com">
<pre class="moz-quote-pre" wrap="">Hello everybody,
I have a problem with the integration of additional icons in a plugin besides the main icon for it. I created a first version with only one menu entry and only one icon. Now in a new version I added a new function as a second menu entry and processing algorithm. These two things should have a new icon. I added relative paths to this new icon in a similar way like in the first version with only one icon. But the new icon does not appear. The relative path is correct, I checked it first ^^ the new icon will be also deployed with the pb_tool (I added it in the config file). I am not sure about the function of the resource.py file. Should I add the second icon into this file with the command pb_tools compile (and how do I do it, I added a new entry in the resources xml-file, cleaned and compiled it new, but it does not work too)?
Sincerely,
Christoph
_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<pre class="moz-signature" cols="72"></pre>
</div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>Qgis-user mailing list</span><br><span><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a></span><br><span>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br><span>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span></div></blockquote></body></html>