Sophie,

What happens if you add the full path before the pyrcc5 command when you’re in 
the plugin folder?

So  you go to the plugin folder and there you run:
C:\OSGeo4W64\apps\Python36\Scripts\pyrcc5 –o resources.py resources.qrc

Michel
________________________________


Van: QGIS-Developer [mailto:qgis-developer-boun...@lists.osgeo.org] Namens 
Sophie Crommelinck
Verzonden: vrijdag 16 maart 2018 10:53
Aan: KOHLMANN Hannes <h.kohlm...@ove.at>; j...@norbit.de
CC: qgis-developer@lists.osgeo.org
Onderwerp: Re: [QGIS-Developer] Unable to compile QGIS3 plugin

I think my images broke while sending,
here they are again:

Jürgen's suggestion:
[cid:image002.jpg@01D3BD17.8A7FB8C0]
Hannes' suggestion:
[cid:image004.jpg@01D3BD17.8A7FB8C0]
python-core.bat
[cid:image005.png@01D3BD17.8A7FB8C0]


2018-03-16 10:45 GMT+01:00 Sophie Crommelinck 
<sophie.crommeli...@gmail.com<mailto:sophie.crommeli...@gmail.com>>:
Hello Jürgen and Hannes,
thanks for your support. I tried both suggestions, with little success.
Jürgen's suggestion:
[http://?ui=2&ik=ad514a8e24&view=att&th=1622e15a2bbbae15&attid=0.1&disp=safe&realattid=ii_jetq74350_1622e15a2bbbae15&zw]
This creates the resources.py file (attached). However, when I open QGIS3 it 
crashes every time I reload the plugin (crash report attached).
Hannes' suggestion:
[http://?ui=2&ik=ad514a8e24&view=att&th=1622e24472fdda7d&attid=0.2&disp=safe&realattid=ii_jetqrnzt1_1622e24472fdda7d&zw]
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.
Also, I wonder, why the result of calling python-qgis-dev.bat lists win32, 
while I have a win64 machine.

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
[http://?ui=2&ik=ad514a8e24&view=att&th=1622e29d99d79ebd&attid=0.0.3&disp=safe&realattid=ii_jetqzhre4_1622e29d99d79ebd&zw]
Best,
Sophie




2018-03-16 1:11 GMT+01:00 KOHLMANN Hannes 
<h.kohlm...@ove.at<mailto:h.kohlm...@ove.at>>:
Hey Sophie!

There is one .bat file that does all the work of setting the Environment 
variables properly: /osgeo4w_root/bin/python-qgis-dev.bat
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)

Here is the link to a gis.stackexchange question concerning that:
https://gis.stackexchange.com/questions/260743/how-to-compile-qtdesigner-user-interface-ui-and-resource-qrc-files-with-qg/264377#264377

Good luck and compiling ;)

Cheers,
Hannes
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org<mailto:QGIS-Developer@lists.osgeo.org>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


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

Reply via email to