[QGIS-Developer] Custom widgets and Qt Designer 4 and 5

C Hamilton adenaculture at gmail.com
Mon Mar 19 12:55:41 PDT 2018


I had the same problem so I am still using the QGIS 2.x Qt Designer for my
QGIS 3.0 dialogs figuring that at some point someone would fix it.So far so
good.

Calvin

On Mon, Mar 19, 2018 at 12:29 PM, matteo <matteo.ghetta at gmail.com> wrote:

> Hi devs,
>
> sorry for raising this issue again. Some old and useful references at
> the end of the page.
>
> I'm getting a little bit confused with the usage of the custom widget
> for the plugin. I have compiled qgis (while not installed, I'm running
> it directly from source) and both Qt4 and Qt5 designer installed.
>
> With Qt4 designer I see the custom widgets, even if I always have the
> import error when loading the plugin (and I have to manually change the
> ui file from <header>qgsmaplayercombobox.h</header> to
> <header>qgis.gui</header>). Not a big deal but still...
>
> With Qt5 designer I cannot see the widget in the interface at all. I
> tried to copy
> /usr/lib/x86_64-linux-gnu/qt4/plugins/designer/libqgis_customwidgets.so
> to /usr/lib/x86_64-linux-gnu/qt5/plugins/designer but Qt5 designer tells
> me that something went wrong with the import.
>
> Do you have some suggestions to use a correct workflow to use these
> widgets in Qt x Designer?
>
> Thanks for all the feedbacks
>
> Cheers
>
>
> Matteo
>
>
> https://lists.osgeo.org/pipermail/qgis-developer/2016-June/043543.html
> https://lists.osgeo.org/pipermail/qgis-developer/2016-December/046063.html
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180319/b61f8a3f/attachment.html>


More information about the QGIS-Developer mailing list