<div dir="ltr">Hi Etienne,<div><br></div><div>qgis_customwidgets.py is responsible of replacing the cpp header by qgis.gui.</div><div>It should be located in /pythonX/dist-packages/PyQt5/uic/widget-plugins/</div><div><br></div><div>To work, this file needs bbe able to import qgis.gui. If it fails, there will be no replacement.</div><div><br></div><div>Can you check if this file is present and if you can import qgis.gui?</div><div><br></div><div>Cheers,</div><div>Denis</div><div><br><div class="gmail_quote"><div dir="ltr">Le mar. 3 avr. 2018 à 14:25, Etienne Trimaille <<a href="mailto:etienne.trimaille@gmail.com">etienne.trimaille@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi Matteo,<br><br></div>I'm finally trying to use custom widgets from QT Creator instead of using promoted widgets.<br></div>I'm facing the same issue with the generated path. It's not using "qgis.gui" so it's failing during the import in QGIS.<br><br></div>Did you fix this issue?<br></div>I can manually fix these imports, but I'm asking if there is a fix for that. Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-20 14:33 GMT+01:00 matteo <span dir="ltr"><<a href="mailto:matteo.ghetta@gmail.com" target="_blank">matteo.ghetta@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Matthias,<br>
<span><br>
<br>
>> * not being able to see the QGS widgets in QT Designer 5 is related with<br>
>> GDAL version, isn't it? If copying in the<br>
>> /usr/...../pyqt5/plugin/designer the libqgiscustomwidget not compiled<br>
>> against gdal >= 2.20 won't work<br>
> That's what I was talking about. It doesn't matter which gdal version<br>
> you link against.<br>
<br>
</span>ok so technically one I have the file libqgiscustomwidget.so and I've<br>
copied it into the folder I can even clean the directory of QGIS<br>
(compiled against gdal 2.20)?<br>
<br>
Thanks for the patience ;)<br>
<div class="m_-4596270120907035311HOEnZb"><div class="m_-4596270120907035311h5"><br>
Matteo<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div></div></blockquote></div><br></div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div></div></div>