[Qgis-developer] create plyugin: how to compile .ui and .qrc file in windows?

Matthias Kuhn matthias.kuhn at gmx.ch
Thu Nov 14 05:15:06 PST 2013


Hi

On Don 14 Nov 2013 14:03:49 CET, Alex Theleritis wrote:
> Hi Stefano,
>
> To convert an ".ui" file to ".py" , you have to run on windows command :
> "pyrcc4 -o interface.py interface.ui", where interface.ui is the file you
> have created and interface.py is the output python code you want.

Shouldn't it be pyuic4 for compiling the UI file?

>
> To conver ".qrc" to ".py" you have to do the same process as I described in
> the "ui" to "py" convertion. It will be something like this : "pyrcc4 -o
> resources.py resources.qrc".
>
> pyrcc4  is a tool which comes with PyQt4 (Python library for GUI
> applications). If you dont have it installed , just download it and install.
>
> Regards,
>
> Alex Theleritis
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/create-plyugin-how-to-compile-ui-and-qrc-file-in-windows-tp5089072p5089132.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

Regards,
Matthias


More information about the Qgis-developer mailing list