[Qgis-developer] Writing new sip files

Stefan Keller sfkeller at gmail.com
Tue Dec 13 19:44:22 EST 2011


Hi Martin and Nathan

While searching for a solution described in a similar problem here
("Position on map centered on screen and smoothly updated by a GPS:
Any Python plug-in/code?") I found this thread.

Marco confirmed that currently there exists no Python binding for
accessing GPS signals. Class QgsGPSConnection which sends signal
'stateChanged( const QgsGPSInformation& info )' as soon as there's
something arriving from GPS.

Now since Martin encouraged us to ask him if a SIP file is missing,
I'm doing this now (unless there's a better solution around).

Thanks,
Stefan


2011/1/5 Martin Dobias <wonder.sk at gmail.com>:
> On Tue, Jan 4, 2011 at 1:17 AM, Nathan Woodrow <madmanwoo at gmail.com> wrote:
>> Hi Martin,
>> Attached is my core.sip, I don't think there is anything wrong with it as I
>> just copied the line above and changed the name to qgsgpsdectector.sip
>> I was going to post a ticket but I thought I might give it a go first.  I
>> picked the GPS ones because they looked pretty good in terms of API layout,
>> as I didn't want to rearrange to much.
>
> Nathan
>
> I've took a look on the problem - a semicolon has been missing after
> the class definition in qgsgpsdetector.sip. The compilation moves on
> and complains about missing QgsGPSInformation class :-)
>
> Martin
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list