[Qgis-developer] Plugin Development C++ Windows - Any response?

G. Allegri giohappy at gmail.com
Fri Feb 18 06:38:18 EST 2011


Richard,
I'm not an expert QGis/C++ developer, but have been able to build qgis and
various single plugins with Visual Studio 2008 Express easily, thanks to the
development dependencies provided by Osgeo4w.
It's not that hard. Look at these notes:
http://www.qgis.org/wiki/Building_QGIS_from_Source#Building_with_Microsoft_Visual_Studio


Anyway, the problem for Maaza seems to be Cmake. You don't need to use it if
you don't want to. It's quite necessary to pass through it if you want to
build Qgis instead...

giovanni



2011/2/18 Richard Duivenvoorde <rdmailings at duif.net>

> maaza mekuria wrote:
> > Can it be possible to create a minimalist plugin using c++ in Windows
> > Visual C++ Express without using all the bells and whistles that are in
> > the other plugins such as CMakelists?
> >
> > Your help may make a difference between using Python and C++. I was able
> > to copy a Python plugin and easily adopt it to my own version of a
> > plugin. I was able to add and remove GUI items by just editing the UI
> > file. I want to do something similar using C++. Is it impossible for a
> > new comer? Do I need a Computer Science degree to? But it should not be
> > as they say "Rocket science" to write a little function.
> >
> > I promise if I get it to work, I will share it with those who are
> > suffering the famine for information. I am not sure why there is lack of
> > documentation on such a simple matter or may be it is not simple or it
> > is esoteric because it is highly dependent on many secret doors and
> > passageways.
> >
> > I confess my stubbornness to use C++ is due to the type of work being a
> > bit intensive and I also have already a C++ code for it and I just need
> > a nicer interface and data store that is free as in "Free Chai" inside
> QGIS.
> >
> > Anybody there listening to the call from QGIS (Quiet or Slow GIS)
> > desert?
>
> Hi Maaza,
>
> one of the reasons it's so quiet, is that we do not have that much
> windows developers  :-)
> Most c++ work is done on linux.
>
> Every now and then there are people asking on the list to compile stuff
> on Windows using either Visual Studio or other tools. But apparently
> they fail OR start using linux  :-)
>
> I would say:
> either use python, OR load ubuntu on one of your (virtual) machines, and
> compile qgis that way, (on ubuntu it's really easy, even I can do that
>  ;-)  ) and build you cpp plugin on linux.
>
> If you have compile troubles on linux, I think there will be more people
> able to help you (as said: it's not that people do not want to help you,
> just there is not so much visual studio / windows knowledge around).
>
> Hope this helps,
>
> Richard Duivenvoorde
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110218/5a52effe/attachment.html


More information about the Qgis-developer mailing list