AW: [Qgis-developer] New Plugin builder

Gary Sherman sherman at mrcc.com
Mon Feb 23 11:09:29 EST 2009


On Feb 22, 2009, at 10:59 PM, Düster Horst wrote:

> Gary
>
> Great work and very very helpful for plugin developement.
>
> I found out one issue in conjunction with QT-Designer. When I open  
> the generated *.ui file with QT-Designer and save the file then the  
> UI-Classname is not set correct. P.e. when you call a class  
> myTestClass you will get a UI_myTestClass.ui with the corresponding  
> class name. Open the file with QT-Designer add a push button and  
> save the dialog, the dialog class is renamed in UI_Dialog but not  
> the file of course. As the result the plugin throws an error message  
> "class not found". To solve the problem you have to rename the  
> dialog inside of QT-Designer from Dialog to your desired class name.
>

An oversite in the template that generates the Ui file. It should be  
fixed now.

Thanks,
-gary
> Regards
> Horst
>
> ------------------------------------------------
>
> Dr. Horst Düster
> Stv. Amtschef / GIS-Koordinator
>
> Kanton Solothurn
> Bau- und Justizdepartement
> Amt für Geoinformation
> SO!GIS Koordination
> Rötistrasse 4
> CH-4501 Solothurn
>
> Telefon ++41(0)32 627 25 32
> Telefax ++41(0)32 627 22 14
>
> mailto:horst.duester at bd.so.ch
> http://www.agi.so.ch
>
> -----Ursprüngliche Nachricht-----
> Von: Gary Sherman [mailto:sherman at mrcc.com]
> Gesendet am: Samstag, 21. Februar 2009 23:30
> An: qgis-user; qgis-developer List
> Betreff: [Qgis-developer] New Plugin builder
>
> I have created a web-based tool to build a minimal QGIS Python plugin.
>
> Basically you specify the required parameters and it creates a ready
> to run plugin with an blank dialog. The tool compiles the resource and
> Ui files and packages it all up into a zip file for download.
>
> You can try the builder at: http://pyqgis.org/builder/ 
> plugin_builder.py
>
> The zip file contains a Makefile which can be used to recompile the Ui
> and resource files if you change them. The builder uses Qt 4.4,
> however the generated plugin should work on any QGIS 1.0 install.
>
> If you've been wanting to develop QGIS plugins but didn't know where
> to start, this tool can get you started quickly by setting up the
> structure for you.
>
> Comments and suggestions are welcomed.
>
> -gary
>
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
> Gary Sherman
> Chair, QGIS Project Steering Committee
> -Micro Resources: http://mrcc.com
> *Geospatial Hosting
> *Web Site Hosting
> -Desktop GIS Book:
> *http://desktopgisbook.com
> "We work virtually everywhere"
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Gary Sherman
Chair, QGIS Project Steering Committee
-Micro Resources: http://mrcc.com
   *Geospatial Hosting
   *Web Site Hosting
-Desktop GIS Book:
   *http://desktopgisbook.com
"We work virtually everywhere"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-



More information about the Qgis-developer mailing list