[QGIS-Developer] Unable to compile QGIS3 plugin

Sophie Crommelinck sophie.crommelinck at gmail.com
Fri Mar 16 02:52:57 PDT 2018


 I think my images broke while sending,

here they are again:

*Jürgen's suggestion:*

*Hannes' suggestion:*


*python-core.bat*


2018-03-16 10:45 GMT+01:00 Sophie Crommelinck <sophie.crommelinck at gmail.com>
:

> Hello Jürgen and Hannes,
>
> thanks for your support. I tried both suggestions, with little success.
>
> *Jürgen's suggestion:*
>
> 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:*
>
> 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
>
>
> Best,
>
> Sophie
>
>
>
>
>
> 2018-03-16 1:11 GMT+01:00 KOHLMANN Hannes <H.KOHLMANN at 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-compil
>> e-qtdesigner-user-interface-ui-and-resource-qrc-files-
>> with-qg/264377#264377
>>
>> Good luck and compiling ;)
>>
>> Cheers,
>> Hannes
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180316/db17d123/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 23268 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180316/db17d123/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 2629 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180316/db17d123/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 14175 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180316/db17d123/attachment-0005.png>


More information about the QGIS-Developer mailing list