[Qgis-developer] QGIS Custom Widget in Qt Designer

matteo matteo.ghetta at gmail.com
Tue Dec 6 09:11:51 PST 2016


Hi all,

I'm currently compiling both master and release_2_18 on a linux machine
(with make, not debian rules, and I run them directly from the output
folder, thanks Matthias for the advice ;))

I set the WITH-CUSTOMWIDGET ON for both qgis2_18 and master (not sure if
this is needed)

To have the QGIS Widgets in Qt Designer I also had to install
liqgis-customwidgets and the 2 dependencies (libqgis-core and libqgis-gui)

But, even with this settings a custom and empty plugin (so just a simple
plugin build with the Plugin Builder), if the UI has some QGIS Widgets,
with all widget I get this error:

ImportError: No module named qgscolorbuttonv2

I find this workaround:

https://lists.osgeo.org/pipermail/qgis-developer/2016-August/044138.html


I was just wondering if this is the normal behavior of if my machine
needs some more settings


Thanks to all

Matteo


More information about the Qgis-developer mailing list