Hi Enrico,
Maybe add in your .ui files this snippet after the custom widgets
section:
qgis.gui
Regards
Loïc
On 2017-09-29 09:43, Enrico Ferreguti wrote:
Hi Loïc,
I have no luck with your fix. I'm getting the same exception.
The uic module doesn't recognize the property
Hi Loïc,
I have no luck with your fix. I'm getting the same exception.
The uic module doesn't recognize the property
QgsMapLayerProxyModel::RasterLayer
of the custom widget as valid. I tried to remove the entire property
section from .ui file and set it programmatically during the dialog
__init__
Hi,
I have found the same problem on FreeBSD if custom widgets are not
installed.
My solution at least on FreeBSD and Windows (osgeo4w) use your .ui (it's
only a XML), search this:
YOUR CUSTOM WIDGET
YOUR CUSTOM WIDGET
YOUR CUSTOM WIDGET.h
and change the line containing a
I'm getting the following exception:
AttributeError: unknown enum QgsMapLayerProxyModel::RasterLayer
>
loading a plugin with QGIS custom QT designer widget in windows standalone
QGIS 2.14 ltr and 2.18.
The exception doesn't affect linux and osgeo4win installations.
I found that this was a 2015