<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.E-mailStijl18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="NL-BE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Sophie,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">What happens if you add the full path before the pyrcc5 command when you’re in the plugin folder?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">So  you go to the plugin folder and there you run:
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">C:\OSGeo4W64\apps\Python36\Scripts\pyrcc5 –o resources.py resources.qrc<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Michel</span><span style="color:#1F497D"><o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D">
<hr size="1" width="100%" noshade="" style="color:#A0A0A0" align="center">
</span></div>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="NL" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Van:</span></b><span lang="NL" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> QGIS-Developer [mailto:qgis-developer-bounces@lists.osgeo.org]
<b>Namens </b>Sophie Crommelinck<br>
<b>Verzonden:</b> vrijdag 16 maart 2018 10:53<br>
<b>Aan:</b> KOHLMANN Hannes <H.KOHLMANN@ove.at>; jef@norbit.de<br>
<b>CC:</b> qgis-developer@lists.osgeo.org<br>
<b>Onderwerp:</b> Re: [QGIS-Developer] Unable to compile QGIS3 plugin<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I think my images broke while sending,<o:p></o:p></p>
</div>
<p class="MsoNormal">here they are again:<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><b>Jürgen's suggestion:</b> <br>
<img width="789" height="221" id="_x0000_i1025" src="cid:image002.jpg@01D3BD17.8A7FB8C0"><br>
<b>Hannes' suggestion:</b> <br>
<img width="647" height="338" id="_x0000_i1026" src="cid:image004.jpg@01D3BD17.8A7FB8C0"><o:p></o:p></p>
</div>
<p class="MsoNormal"><b>python-core.bat</b><o:p></o:p></p>
<div>
<p class="MsoNormal"><img width="439" height="41" id="_x0000_i1027" src="cid:image005.png@01D3BD17.8A7FB8C0"><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">2018-03-16 10:45 GMT+01:00 Sophie Crommelinck <<a href="mailto:sophie.crommelinck@gmail.com" target="_blank">sophie.crommelinck@gmail.com</a>>:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello Jürgen and Hannes,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">thanks for your support. I tried both suggestions, with little success.<o:p></o:p></p>
</div>
<p class="MsoNormal"><b>Jürgen's suggestion:</b><o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><img border="0" width="462" height="152" id="_x0000_i1028" src="http://?ui=2&ik=ad514a8e24&view=att&th=1622e15a2bbbae15&attid=0.1&disp=safe&realattid=ii_jetq74350_1622e15a2bbbae15&zw"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">This creates the resources.py file (attached). However, when I open QGIS3 it crashes every time I reload the plugin (crash report attached).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b>Hannes' suggestion:</b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><img border="0" width="475" height="247" id="_x0000_i1029" src="http://?ui=2&ik=ad514a8e24&view=att&th=1622e24472fdda7d&attid=0.2&disp=safe&realattid=ii_jetqrnzt1_1622e24472fdda7d&zw"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">which results in the same as above. However, here I am not entirely sure if I followed the suggestion correctly as I go back to the plugin folder for compiling.<br>
Also, I wonder, why the result of calling python-qgis-dev.bat lists win32, while I have a win64 machine.<br>
<br>
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I also tried changing the python path as suggested in the stack exchange question to Python36 in C:\OSGeo4W64\etc\ini\python-core without success<br>
<img border="0" width="392" height="33" id="_x0000_i1030" src="http://?ui=2&ik=ad514a8e24&view=att&th=1622e29d99d79ebd&attid=0.0.3&disp=safe&realattid=ii_jetqzhre4_1622e29d99d79ebd&zw"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Best,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Sophie<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">2018-03-16 1:11 GMT+01:00 KOHLMANN Hannes <<a href="mailto:H.KOHLMANN@ove.at" target="_blank">H.KOHLMANN@ove.at</a>>:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">Hey Sophie!<br>
<br>
There is one .bat file that does all the work of setting the Environment variables properly: /osgeo4w_root/bin/python-qgis-dev.bat<br>
Call that file in the console and in the same console cd to the directory with the pyrcc.bat file (osgeo4w_root/apps/python36/scripts)<br>
<br>
Here is the link to a gis.stackexchange question concerning that:<br>
<a href="https://gis.stackexchange.com/questions/260743/how-to-compile-qtdesigner-user-interface-ui-and-resource-qrc-files-with-qg/264377#264377" target="_blank">https://gis.stackexchange.com/questions/260743/how-to-compile-qtdesigner-user-interface-ui-and-resource-qrc-files-with-qg/264377#264377</a><br>
<br>
Good luck and compiling ;)<br>
<br>
Cheers,<br>
Hannes<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">
https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">
https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>