<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Well, how is compiled the UI file?<br>
Usually, it is done prior to deployment using pyuic4<br>
<br>
If pyuic4 was run without the proper python path, you won't have any
error at compilation but the plugin won't work if it contains QGIS
widgets.<br>
<br>
Was pyuic4 run in an Osgeo shell?<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 08/06/2015 09:39 AM, Anita Graser
wrote:<br>
</div>
<blockquote
cite="mid:CAFFV8Fh2bejb7_FP9+8q-CqSZ6m1ZYw4a5f+npZgPU409eMJiQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Aug 6, 2015 at 9:24 AM, Denis
Rouzaud <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:denis.rouzaud@gmail.com" target="_blank">denis.rouzaud@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> You need to have
qgis lib in your python path.<br>
On windows, that would be
C:\OSGeo4W\apps\qgis-dev\python\qgis<br>
To check this, just do "from qgis.gui import *" in
python. If you don't have an error, then pyuic4 will
work properly.<br>
</div>
</blockquote>
<div><br>
</div>
<div>My point is that the plugin needs to work out of the
box - and it doesn't. <br>
</div>
<div>
<div class="gmail_default" style="font-size:small">Usually
all paths are set correctly on Win in the OSGeo shell.
Only in this case there is an issue.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">Best
wishes,</div>
<div class="gmail_default" style="font-size:small">Anita</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
</div>
</div>
<br>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra"><br>
</div>
</div>
</blockquote>
<br>
</body>
</html>