<br><font size=2 face="sans-serif">Thanks to Richard and Andreas for their
help!</font>
<br>
<br><font size=2 face="sans-serif">Why not python? In the last year our
company began developing an extension for ArcGIS 10 in .Net C#. Our intention
is a similar working plugin in QGis. For me it was first easier to port
the Code to C++. Indeed i'm not a save C++-Programmer but from python i
don't understand anything. And so the decision comes to C++.</font>
<br><font size=2 face="sans-serif">The start over a year ago was not so
easy but for Lisboa i could get a small testplugin get running. Then i've
made an error and get new sources from github and my plugin only runs with
the weekly masters. So sporadically when I added some features to my plugin
i get the new sources from github and the adequate weekly build to test
my plugin. So all seems well,  I thought I wait for the new Version
(2.0 Dufour) and then we could have a nice beta-version of our plugin.
But now i can't get running the plugin in 2.0, only in 2.1 its working.
I get no error in 2.0, it isn't shown in the pluginlist, not even in red.
So i don't know the reason. I assumed it was the api break between 1.9
and 2.0. </font>
<br><font size=2 face="sans-serif">Maybe i don't have the right proceeding.
But how can I get the sources of 2.0 to compile my project in VS 2010,
from github i get only the actual. Is this the fault? I don't know. </font>
<br>
<br><font size=2 face="sans-serif">Freundliche Grüße aus Leipzig<br>
Susann Schmidt<br>
Softwareentwicklung <br>
<br>
**************************************************************<br>
<br>
GFI - Gesellschaft für Informationstechnologie mbH<br>
Philipp-Rosenthal-Straße 9<br>
D-04103 Leipzig<br>
Geschäftsführer: Andreas Richter<br>
Amtsgericht Leipzig HRB 12054<br>
USt.-IdNr.: DE179049354     Steuer-Nr.: 231/109/06412<br>
ESRI Solution Partner      und       ER Mapper
Reseller<br>
Tel. 0341 961 3310    Fax 0341 961 3311   Mail info@gfi-gis.de<br>
Web  www.gfi-gis.de  und  www.themenbrowser.de<br>
</font>
<br><font size=1 color=#800080 face="sans-serif">----- Forwarded by Susann
Schmidt/gfi on 07.11.2013 09:02 -----</font>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Richard Duivenvoorde <rdmailings@duif.net></b>
</font>
<p><font size=1 face="sans-serif">06.11.2013 18:01</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
richard@duif.net</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">SSchmidt@gfi-gis.de, qgis-developer@lists.osgeo.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Qgis-developer] cpp-plugin for
QGIS 2.0</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>On 06-11-13 13:03, SSchmidt@gfi-gis.de wrote:<br>
> <br>
> Hello,<br>
> <br>
> now i try my luck here hoping not being ignored :-)<br>
> <br>
> I want to write a plugin for QGIS 2.0 Dufour in C++. Do I have to
take<br>
> the sources/API from Version 1.8 (Lisboa)? It is right, that the actual<br>
> API only can be used for the actual Releases(Weekly Master)? In this<br>
> case I have to download the actual sources and recompile it everytime
I<br>
> want to deploy it?<br>
> <br>
> Thanks for any suggestions.<br>
<br>
Hi Susann,<br>
<br>
Any reason to not write your plugin in python? It is much easier (to<br>
start with).<br>
<br>
But if you want to write a C++ for QGIS 2.0, you will have to program<br>
against the 2.0 api:<br>
http://qgis.org/api/2.0/<br>
<br>
Myself I have no experience with writing cpp plugins, and I do not think<br>
there is very much documentation about it..<br>
I found this link:<br>
http://hub.qgis.org/wiki/17/Writing_C++_Plugins_%5BNew%5D<br>
I tried the plugin_builder.py script which is mentioned there, and all<br>
was working/building fine (also a nice README). Only the links in the<br>
created dialog are not ok anymore:<br>
<br>
In particular look at the following classes:<br>
<br>
QGisInterface<br>
http://svn.qgis.org/api_doc/html/classQgisInterface.htm<br>
QgsMapCanvas<br>
http://svn.qgis.org/api_doc/html/classQgsMapCanvas.html<br>
QgsMapTool<br>
http://svn.qgis.org/api_doc/html/classQgsMapTool.html<br>
QgsPlugin<br>
http://svn.qgis.org/api_doc/html/classQgisPlugin.html<br>
<br>
instead of<br>
http://svn.qgis.org/api_doc/html<br>
use<br>
http://qgis.org/api/2.0/<br>
<br>
Good luck and have fun (again... why not python?)<br>
<br>
Where did you feel ignored anyway?<br>
<br>
Regards,<br>
<br>
Richard Duivenvoorde<br>
<br>
<br>
<br>
</font></tt>