Bug report #13428

Updated by Denis Rouzaud almost 6 years ago

On osgeo4w installation compiling ui files with pyuic4 produces wrong imports for qgis custom widgets.

Also all the plugins are affected that try to use ui-files directly with uic.loadUiType(). Plugins crash in this situation.



This is because of PyQt is not aware of qgis_customwidgets.py located in qgis\\python\\PyQt4\\uic\\widget-plugins folder.

In the qgis_customwidgets.py it is commented that the file should be copied into /pythonX/dist-packages/PyQt4/uic/widget-plugins/ but it is not.



This is discussed in https://lists.osgeo.org/pipermail/qgis-developer/2015-September/039196.html

Back