<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">Le lun. 6 mars 2017 à 16:32, matteo <<a href="mailto:matteo.ghetta@gmail.com">matteo.ghetta@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">Hi Denis,<br class="gmail_msg">
<br class="gmail_msg">
> I think you should either use "make install" which will take care of this<br class="gmail_msg">
> or either define properly the python path.<br class="gmail_msg">
<br class="gmail_msg">
it is so comfortable to load directly from the output directory without<br class="gmail_msg">
writing on the disk..... ;)<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
> That is because you are still using a Qt4 designer with the Qt5 custom<br class="gmail_msg">
> widget library.<br class="gmail_msg">
> You have to use a Qt5 designer.<br class="gmail_msg">
> Then, you have either to use "make install" to properly place the files or<br class="gmail_msg">
> manually place the customwidget lib in the Qt5 designer path + run designer<br class="gmail_msg">
> with path to build qgis core + gui.<br class="gmail_msg">
<br class="gmail_msg">
OK.. so by placing the file of above in the python3 directory<br class="gmail_msg">
(/usr/lib/.....) and by loading Qt Designer 5 I should be ready to use<br class="gmail_msg">
just the correct widgets for QGIS3?<br class="gmail_msg"></blockquote><div><br></div><div>on my computer (fedora), I have </div><div>/usr/lib64/qt5/plugins/designer/libqgis_customwidgets.so</div><div><br></div><div>then just make sure it finds the proper core + gui libs (run ldd /usr/lib64/qt5/plugins/designer/libqgis_customwidgets.so and see if no error is raised)</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="gmail_msg">
<br class="gmail_msg">
> You should be able to keep both installation of QGIS 2 and 3, and the<br class="gmail_msg">
> corresponding custom widget (Qt4 and Qt5). (don't start mixing QGIS 2 + Qt5<br class="gmail_msg">
> ;) )<br class="gmail_msg">
<br class="gmail_msg">
ahha for sure not! I have QGIS2 and QGIS3 installed but I don't want to<br class="gmail_msg">
mix stuff in there!<br class="gmail_msg">
<br class="gmail_msg">
Thanks!<br class="gmail_msg">
<br class="gmail_msg">
Matteo<br class="gmail_msg">
</blockquote></div></div>