[Qgis-developer] Plugin with custom QGIS-Qt Widget for master

Denis Rouzaud denis.rouzaud at gmail.com
Mon Mar 6 07:35:54 PST 2017


Le lun. 6 mars 2017 à 16:32, matteo <matteo.ghetta at gmail.com> a écrit :

> Hi Denis,
>
> > I think you should either use "make install" which will take care of this
> > or either define properly the python path.
>
> it is so comfortable to load directly from the output directory without
> writing on the disk..... ;)
>
>
> > That is because you are still using a Qt4 designer with the Qt5 custom
> > widget library.
> > You have to use a Qt5 designer.
> > Then, you have either to use "make install" to properly place the files
> or
> > manually place the customwidget lib in the Qt5 designer path + run
> designer
> > with path to build qgis core + gui.
>
> OK.. so by placing the file of above in the python3 directory
> (/usr/lib/.....) and by loading Qt Designer 5 I should be ready to use
> just the correct widgets for QGIS3?
>

on my computer (fedora), I have
/usr/lib64/qt5/plugins/designer/libqgis_customwidgets.so

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)

>
>
> > You should be able to keep both installation of QGIS 2 and 3, and the
> > corresponding custom widget (Qt4 and Qt5). (don't start mixing QGIS 2 +
> Qt5
> > ;) )
>
> ahha for sure not! I have QGIS2 and QGIS3 installed but I don't want to
> mix stuff in there!
>
> Thanks!
>
> Matteo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170306/90ac1bf2/attachment-0001.html>


More information about the Qgis-developer mailing list