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

Richard Duivenvoorde rdmailings at duif.net
Fri Feb 18 06:21:12 EST 2011


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


More information about the Qgis-developer mailing list