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:[email protected]] Namens Sophie Crommelinck Verzonden: vrijdag 16 maart 2018 10:53 Aan: KOHLMANN Hannes <[email protected]>; [email protected] CC: [email protected] 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:[email protected]] Hannes' suggestion: [cid:[email protected]] python-core.bat [cid:[email protected]] 2018-03-16 10:45 GMT+01:00 Sophie Crommelinck <[email protected]<mailto:[email protected]>>: 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 <[email protected]<mailto:[email protected]>>: 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 [email protected]<mailto:[email protected]> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ 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
