<br><font size=2 face="sans-serif">Thank you Andreas,</font>
<br>
<br><font size=2 face="sans-serif">sounds like there is hope for me :-)</font>
<br>
<br><font size=2 face="sans-serif">Now i feel a bit silly because I can't
get the files, i tried this:</font>
<br>
<br><img src=cid:_1_0467CEBC0467CC6C00342FFCC1257C1C>
<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 10:26 -----</font>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Andreas Neumann <a.neumann@carto.net></b>
</font>
<br><font size=1 face="sans-serif">Sent by: qgis-developer-bounces@lists.osgeo.org</font>
<p><font size=1 face="sans-serif">07.11.2013 09:48</font>
<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">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] WG: Re:  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>Hi,<br>
<br>
Whenever there is a new release you have to link to other qgis core <br>
libraries (e.g. libqgis_core.so). This explains why 2.1 C++ plugins do
<br>
not work for 2.0 even if the API did not change. You have to compile C++
<br>
plugins for each major version.<br>
<br>
You can get the source code for the 2.0x branch at <br>
https://github.com/qgis/QGIS/tree/release-2_0<br>
<br>
see https://github.com/qgis/QGIS/branches for all the available <br>
branches.<br>
<br>
Andreas<br>
<br>
Am 2013-11-07 09:35, schrieb SSchmidt@gfi-gis.de:<br>
> Thanks to Richard and Andreas for their help!<br>
> <br>
> Why not python? In the last year our company began developing an<br>
> extension for ArcGIS 10 in .Net C#. Our intention is a similar working<br>
> plugin in QGis. For me it was first easier to port the Code to C++.<br>
> Indeed i'm not a save C++-Programmer but from python i don't<br>
> understand anything. And so the decision comes to C++.<br>
> The start over a year ago was not so easy but for Lisboa i could get
a<br>
> small testplugin get running. Then i've made an error and get new<br>
> sources from github and my plugin only runs with the weekly masters.<br>
> So sporadically when I added some features to my plugin i get the
new<br>
> sources from github and the adequate weekly build to test my plugin.<br>
> So all seems well, I thought I wait for the new Version (2.0 Dufour)<br>
> and then we could have a nice beta-version of our plugin. But now
i<br>
> can't get running the plugin in 2.0, only in 2.1 its working. I get
no<br>
> error in 2.0, it isn't shown in the pluginlist, not even in red. So
i<br>
> don't know the reason. I assumed it was the api break between 1.9
and<br>
> 2.0.<br>
> Maybe i don't have the right proceeding. But how can I get the sources<br>
> of 2.0 to compile my project in VS 2010, from github i get only the<br>
> actual. Is this the fault? I don't know.<br>
> <br>
> 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>
> <br>
> ----- Forwarded by Susann Schmidt/gfi on 07.11.2013 09:02 -----<br>
> <br>
>  RICHARD DUIVENVOORDE <RDMAILINGS@DUIF.NET><br>
> <br>
> 06.11.2013 18:01<br>
> <br>
> Please respond to<br>
>  richard@duif.net<br>
> <br>
> To SSchmidt@gfi-gis.de, qgis-developer@lists.osgeo.org<br>
> <br>
> cc<br>
> <br>
> Subject Re: [Qgis-developer] cpp-plugin for QGIS 2.0<br>
> <br>
> 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<br>
> take<br>
>  > the sources/API from Version 1.8 (Lisboa)? It is right,
that the<br>
> actual<br>
>  > API only can be used for the actual Releases(Weekly Master)?
In<br>
> this<br>
>  > case I have to download the actual sources and recompile
it<br>
> 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<br>
> 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<br>
> 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>
> Qgis-developer mailing list<br>
> Qgis-developer@lists.osgeo.org<br>
> http://lists.osgeo.org/mailman/listinfo/qgis-developer<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
Qgis-developer@lists.osgeo.org<br>
http://lists.osgeo.org/mailman/listinfo/qgis-developer</font></tt>