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

Alex Theleritis atheleritis at getmap.gr
Thu Nov 14 05:03:49 PST 2013


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.

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.


More information about the Qgis-developer mailing list