[Qgis-developer] Plugin: initGui not called on QGIS startup?

John Stevenson john.stevenson at thinkwhere.com
Wed Nov 11 05:22:00 PST 2015


Hi Matthias,

A very good question.

No, I had not.  I had just copied the module directory into my plugins directory.  Now that it is activated, the initGui and unload methods are begin called on QGIS start up and close down.

Thank you!

John


John Stevenson
Senior Developer
Email:mailto:john.stevenson at thinkwhere.com

Glendevon House
Castle Business Park
Stirling FK9 4TZ

Tel: 01786 476060
Tel: 01786 476093 (Direct Dial)

-----Original Message-----
From: Qgis-developer [mailto:qgis-developer-bounces at lists.osgeo.org] On Behalf Of Matthias Kuhn
Sent: 11 November 2015 13:03
To: qgis-developer at lists.osgeo.org
Subject: Re: [Qgis-developer] Plugin: initGui not called on QGIS startup?

Hi John,

Sorry for a probably a stupid question, but did you activate the plugin in the plugin manager?

Matthias

On 11/11/2015 01:58 PM, John Stevenson wrote:
> Hi Tom,
>
> It is one that I am writing myself.   I've looked at others e.g. openlayers, plugin reloader and they all have their initGui methods called, so I am trying to understand why mine is not.
>
> Thanks
> John
>
>
> John Stevenson
> Senior Developer
> Email:mailto:john.stevenson at thinkwhere.com
>
> Glendevon House
> Castle Business Park
> Stirling FK9 4TZ
>
> Tel: 01786 476060
> Tel: 01786 476093 (Direct Dial)
>
> -----Original Message-----
> From: Qgis-developer [mailto:qgis-developer-bounces at lists.osgeo.org]
> On Behalf Of Tom Chadwin
> Sent: 11 November 2015 12:25
> To: qgis-developer at lists.osgeo.org
> Subject: Re: [Qgis-developer] Plugin: initGui not called on QGIS startup?
>
> Which plugin?
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Plugin-initGui-not-called-on-QGIS-
> startup-tp5235698p5235710.html Sent from the Quantum GIS - Developer
> mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

--
Help to improve QGIS rendering possibilities before Nov 30, 2015 http://www.opengis.ch/2015/11/02/qgis-crowdfunding-2-5d-rendering






More information about the Qgis-developer mailing list