[Qgis-developer] QGIS Source Compile and Plugin Development

sailmcm sailmcm at yahoo.com
Mon Feb 14 18:40:38 EST 2011


Thanks Richard. I do use python. But I have standalone c++ code I want to use in qgis. I also think it more reliable to use c. 
Thanks again for your help. 


Richard Duivenvoorde <rdmailings at duif.net> wrote:

>maaza mekuria wrote:
>> Anyone knows or has documentation to help me progress with the plugin 
>> development?
>> 
>> Here is my status.
>> 
>> I use windows XP and Visual C++ Express 2008. I have a working copy of a 
>> build that I was able to compile QGIS. I tried inserting a project and 
>> making a plugin from scratch, and I find it needs a lot of other 
>> libraries. I then tried copying an existing plugin and tried to modify 
>> it, and it seems there are too many files that are needed to compile 
>> plugin and it just keeps giving error message after another. Do we have 
>> a minimum number set of headers/libraries/files that are required to 
>> compile a plugin?
>> 
>> Is there any guide for the windows platform on plugin development?
>> I have looked at the Linux plugin sample given in the introduction 
>> developer document and have tried to follow it in Windows and I have not 
>> been able to compile the plugin.
>
>If you want to develop a python(!) plugin you do not need to compile QGIS.
>
>You can install a stable qgis-version on you machine, and if you see the 
>  python console in the Plugins menu, you have all the tools to write a 
>plugin (without it's own dialog though).
>
>Please read http://www.qgis.org/wiki/Writing_Python_Plugins (see the 
>Windows remarks at the bottom and use one of the 'generate myfirst 
>plugin pages').
>
>IF you want to have your own dialogs, you will need to install QT and 
>it's python bindings, because using QT-developer you can then generate 
>the neccesary .ui files for you dialogs.
>
>Regards,
>
>Richard Duivenvoorde


More information about the Qgis-developer mailing list