[Qgis-developer] Is there an advantage in using pyuic on command line instead of uic.loadUi in plugin source?
Martin Dobias
wonder.sk at gmail.com
Mon Apr 28 10:26:55 PDT 2014
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
More information about the Qgis-developer
mailing list