<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><font size="-1"><font face="Verdana">Hi Matteo,</font></font></p>
<p><font size="-1"><font face="Verdana">Having the error on master
sounds correct, since QgsColorButtonV2 really doesn't exist
anymore (replaced by QgscolorButton [0]).</font></font></p>
<p><font size="-1"><font face="Verdana">As I wrote already in the
topic, issues seem to arise when using uic.loadUi. Are you
using this approach?</font></font></p>
<p><font size="-1"><font face="Verdana">Personally, I use pyuic
without any issue (you just need to be sure that you have qgis
in your python path, which requires attention in your case
since you don't install qgis).<br>
</font></font></p>
<p><font size="-1"><font face="Verdana">Best wishes,</font></font></p>
<p><font size="-1"><font face="Verdana">Denis<br>
</font></font></p>
<p><font size="-1"><font face="Verdana"><br>
</font></font></p>
<p><font size="-1"><font face="Verdana">[0]
<a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/blob/master/doc/api_break.dox#L75">https://github.com/qgis/QGIS/blob/master/doc/api_break.dox#L75</a></font></font><br>
</p>
<br>
<div class="moz-cite-prefix">On 12/06/2016 06:11 PM, matteo wrote:<br>
</div>
<blockquote
cite="mid:ae97ba87-061b-bece-76c0-18555e39ef2b@gmail.com"
type="cite">
<pre wrap="">Hi all,
I'm currently compiling both master and release_2_18 on a linux machine
(with make, not debian rules, and I run them directly from the output
folder, thanks Matthias for the advice ;))
I set the WITH-CUSTOMWIDGET ON for both qgis2_18 and master (not sure if
this is needed)
To have the QGIS Widgets in Qt Designer I also had to install
liqgis-customwidgets and the 2 dependencies (libqgis-core and libqgis-gui)
But, even with this settings a custom and empty plugin (so just a simple
plugin build with the Plugin Builder), if the UI has some QGIS Widgets,
with all widget I get this error:
ImportError: No module named qgscolorbuttonv2
I find this workaround:
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/pipermail/qgis-developer/2016-August/044138.html">https://lists.osgeo.org/pipermail/qgis-developer/2016-August/044138.html</a>
I was just wondering if this is the normal behavior of if my machine
needs some more settings
Thanks to all
Matteo
_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <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>