[Qgis-developer] plugin development in Win XP

Alex Mandel tech_dev at wildintellect.com
Sat Feb 5 20:32:25 EST 2011


I think what Giovanni was implying is that you should setup to build
QGIS from source and that once you have that working your build
environment should work for plugins.

See http://www.qgis.org/wiki/Building_QGIS_from_Source#Building_on_Windows

Enjoy,
Alex

On 02/04/2011 10:21 AM, maaza mekuria wrote:
> I am saying that it is not the same. Plugins are DLL's and setup comes 
> already pre-packaged and I just had to follow instructions that were 
> clear. 
> 
> With the plugins, Dr. Marco's document is written for Linux and then it is also not clear. I think the instructions given for the update of the source files are not correct. 
> 
> What are the required directories for the plugin? Do I need all the extra files cmake, .cxx, .svg, etc for the plugin to work? 
> 
> Just wondering if I am making demands that is not acceptable. If so please let me know.
> 
> Thank you,
> 
> Maaza  
> 
> 
> 
> --- On Fri, 2/4/11, G. Allegri <giohappy at gmail.com> wrote:
> 
> From: G. Allegri <giohappy at gmail.com>
> Subject: Re: [Qgis-developer] plugin development in Win XP
> To: "maaza mekuria" <sailmcm at yahoo.com>
> Cc: qgis-developer at lists.osgeo.org
> Date: Friday, February 4, 2011, 9:15 AM
> 
> If you're able to build QGis, you're able to build the plugins too, as QGis has already builtin plugins. Have a look to this folder [1]. My first trial was create a new folder in my project (in VS I mean) and setup the same structure of the other plugins.
> 
> Giovanni
> 
> [1] http://trac.osgeo.org/qgis/browser/trunk/qgis/src/plugins
> 
> 2011/2/4 maaza mekuria <sailmcm at yahoo.com>
> 
> I am repeating my question since it may not be , is it possible to build a plugin using WinXP and Visual Studio 2008 (I assume it is)? And is there any documentation on that? Or should one copy another plugin from the trunk and try to adopt it? Or should one resort to QT only for plugin development?
> 
> 
> Thank you,
> 
> Maaza
> 
> --- On Thu, 2/3/11, maaza mekuria <sailmcm at yahoo.com> wrote:
> 
> 
> From: maaza mekuria <sailmcm at yahoo.com>
> Subject: [Qgis-developer] plugin development in Win XP
> To: qgis-developer at lists.osgeo.org
> 
> Date: Thursday, February 3, 2011, 7:24 PM
> 
> 
> I am struggling to build a plugin in QGIS. I was able to build the source and I could run QGIS. But I can not create a plugin. I tried to follow Dr. Marco Hugentobler's example from the compilation guide and since it is linux based I could not duplicate it in the windows env. no matter how I try to compile the sample I get one error after another. Right now the error message below is the latest one. Can any of you offer some
>  direction?
> 
> 
> 1>C:\SW\Src\qgis-trunk\src\gui\qgisinterface.h(54) : error C2470: 'QgisInterface' : looks like a function definition, but there is no parameter list; skipping apparent body
> 1>c:\sw\src\qgis-trunk\src\core\qgis.h(32) : error C2470: 'QGis' : looks like a function definition, but there is no parameter list; skipping apparent body
> 
> 
> 
> Maaza
> 



More information about the Qgis-developer mailing list