[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] External main loop. Was: Correct way to handle 5 Hz on

From: Gary E. Miller
Subject: Re: [gpsd-users] External main loop. Was: Correct way to handle 5 Hz on an application
Date: Wed, 24 Oct 2018 10:35:38 -0700

Yo Lisandro!

On Wed, 24 Oct 2018 14:15:07 -0300
Lisandro Damián Nicanor Pérez Meyer <address@hidden> wrote:

> > > Right now, yes. But the library name change is mandatory to allow
> > > both Qt4 and Qt5 versions coexist, in case a user need both (and
> > > also help distro packagers to provide both versions at the same
> > > time).  
> > 
> > Uh, not exactly.  You don't really need any libqgpsmm to use Qt5
> > with gpsd.  
> The only way libgps_core gets compiled with QTcpSocket as a socket is
> while building libqgpsmm.

Sure.  gpsd has no idea how to build your project.  Nothing to
stop you just copying libgps_core.c into your project.

> > Not really avoiding it.  Just obfuscating it.
> > 
> > And since you like the QTcpSocket() method, what is stopping you?
> > The code for it is in libgps_sock.c  Just uusee that.  
> Public API! Yes, I could copy code from there and use it, but what I
> want is to use the public gpsd API, which are gps.h and libgpsmm.h

I'm still unsure what is stopping you.  That code is right there.  Just
use libgps_sock.c.  You do not need to use the libs from gpsd to use
the API from gpsd.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

Attachment: pgpOvuMqVwc7Y.pgp
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]