[Qgis-developer] Is there an advantage in using pyuic on command line instead of uic.loadUi in plugin source?

Tom Kralidis tomkralidis at gmail.com
Wed Apr 30 16:48:34 PDT 2014


Any examples of this? It would be great for plugins to be able to lift the pyrcc4 / pyuic4 build requirements if desired. 

Sent from my iPhone

> On Apr 28, 2014, at 13:26, Martin Dobias <wonder.sk at gmail.com> wrote:
> 
> Hi Anita
> 
>> On Mon, Apr 28, 2014 at 7:06 PM, Anita Graser <anitagraser at gmx.at> wrote:
>> 
>> I wonder if there is also a way to load resources (such as icons) without
>> having to compile them first.
>> Only then would we get rid of all the console compile stuff.
> 
> Resources can also be loaded directly from files, they do not have to
> be compiled with pyrcc4. Simply use the real path instead of the
> "internal" path (starting with colon).
> 
> Cheers
> Martin
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list