<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body 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>
<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>
<br>
Best wishes,<br>
Denis<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 08/05/2015 11:27 PM, Anita Graser
wrote:<br>
</div>
<blockquote
cite="mid:CAFFV8Fj9LQ60U7vmMcpfOVWXi-hke-B-Sy5adzvOBOOYt-LScA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-size:small">Hi,</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default">There seems to be an issue with
custom widgets in Python. For example this plugin bug:
ImportError: No module named qgsfieldcombobox (<a
moz-do-not-send="true"
href="https://github.com/informeren/qgis-cartogram/issues/2"><a class="moz-txt-link-freetext" href="https://github.com/informeren/qgis-cartogram/issues/2">https://github.com/informeren/qgis-cartogram/issues/2</a></a>)<br>
<br>
Compiling with </div>
<div class="gmail_default">pyuic4 -o cartogram_dialog_base.py
cartogram_dialog_base.ui<br>
results in </div>
<div class="gmail_default">from qgsfieldcombobox import
QgsFieldComboBox<br>
while it should be </div>
<div class="gmail_default">from qgis.gui import QgsFieldComboBox</div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default">Is there some way to fix this on our
side?</div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default">Best wishes,</div>
<div class="gmail_default">Anita</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<br>
</body>
</html>