Hi Stefan,
To properly compile the UI file using pyuic4, you need to have the uic
widget plugin installed.
This is the file qgis_customwidgets.py that should be located in
/usr/lib/python2.7/dist-packages/PyQt4/uic/widget-plugins/
This file can be either installed by the package python-qgis-common or
using -WITH_CUSTOM_WIDGETS=TRUE if you compile your own QGIS (I suppose
this requires a make install).
Let me know if this helps.
Best wishes,
Denis
On 14.11.2014 16:13, Ziegler Stefan wrote:
Hi
I sucessfully used QGIS custom widgets (eg. qgscollapsiblegroupbox) in qt designer in and then with
python plugins with "uic.loadUiType()". Using the "traditional" pyuic approach
I get an missing module error when starting QGIS:
ImportError: No module named qgscollapsiblegroupbox
I'm on Ubuntu 14.04 with an own compiled QGIS master. Do I have to put
"libqgis_customwidgets.so.2.7.0" somewhere specific? Or is there anything else
I have to do?
Regards
Stefan
Freundliche Grüsse
Stefan Ziegler
Kantonsgeometer
Amt für Geoinformation
Amtliche Vermessung
Rötistrasse 4
4500 Solothurn
Telefon +41 32 627 75 96
Telefax +41 32 627 75 98
[email protected]
http://www.so.ch
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer