[QGIS-Developer] Again qgis_customwidgets and Qt Designer

Matteo Ghetta matteo.ghetta at faunalia.eu
Tue Nov 6 04:40:38 PST 2018


Hi all,

sorry to raise this topic again. I had a look at other threads in the
mailing list but those solutions are not working with mu current
installation.

The problem is simple: I cannot see qgis custom widgets in Qt5 Designer.

I compiled current QGIS master (3.5) with the flag WITH CUSTOMWIDGETS
sets to on, but still the widgets are not available in Designer.

If I do some locate and greps in the shell these are the results:

matteo at debian:~$ locate libqgis_customwidgets
/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/libqgis_customwidgets.so
/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/libqgis_customwidgets.so.3.1.0


matteo at debian:~$ locate customwidgets | grep py
/home/matteo/lavori/QGIS/QGIS/python/custom_widgets/qgis_customwidgets.py

SO I think that qgis_customwidgets.py are not copied in the correct
location. Even if I put it manually in the directory, Designer still
does not show them:

matteo at debian:/usr/lib/python3/dist-packages/PyQt5/uic/widget-plugins$ ls
__pycache__      qgis_customwidgets.py  qtcharts.py
qtquickwidgets.py      qtwebkit.py
qaxcontainer.py  qscintilla.py          qtprintsupport.py
qtwebenginewidgets.py


Is anything I can do to have them back?

Thanks for all the hints

Cheers

Matteo




-- 
Matteo Ghetta - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis


More information about the QGIS-Developer mailing list