[Interest] QtLocation plugin - geoservices

Christophe Thomas oxygen77.ct at gmail.com
Sun Jul 21 22:21:33 CEST 2019


Hello,

Finally I found a way to pass a pointer to my Backend using QVariant in one
plugin parameter. I can now have some direct communication between plugin
fetcher + reply and server side.

Christophe

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Garanti
sans virus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Le ven. 19 juil. 2019 à 17:43, Christophe Thomas <oxygen77.ct at gmail.com> a
écrit :

> Hello,
>
> So I've created my own plugin, it is working fine when using tcp
> communication. Now I want to move forward and try to have a different type
> of communication. My tile server is on the same computer (same application
> in fact), so I have implemented the server side in C++ in the app and using
> qml I create the map part with my own plugin,communication is done using
> tcp.
>
> I would like to change this and use some more direct communication, anyway
> to do this ? I'm trying to pass some object reference to the plugin so it
> can call the server part directly but it fails. I could also use signals to
> do the communication. But my issue is to have either the server (or the
> app) access the internal of plugin or the opposit: make the plugin have
> access to the server.
>
> Any idea ?
>
> Regards,
>
> Christophe
>
> Le jeu. 18 juil. 2019 à 13:36, Christophe THOMAS <oxygen77.ct at gmail.com>
> a écrit :
>
>> Great, just did the build / install and everything went fine. I’ll start
>> from this for my own plugin.
>>
>> Thank you,
>>
>> Chris
>>
>> Le 18 juil. 2019 à 11:26, Vlad Stelmahovsky <vladstelmahovsky at gmail.com>
>> a écrit :
>>
>> Hi Christophe
>>
>> might be this will be good starting point:
>> https://github.com/vladest/googlemaps
>>
>> 1.you dont have to build whole Qt sources to build the plugin but you
>> have to have Qt private headers installed (ie. Qt SDK installed)
>> 2. just run 'make install' afler plugin is built. this will install
>> plugin to appropriate folders in Qt
>>
>> br
>>
>> On Thu, Jul 18, 2019 at 9:24 AM Christophe Thomas <oxygen77.ct at gmail.com>
>> wrote:
>>
>>> Hello
>>>
>>> I would like to create my own QtLocation plugin providing geoservices.
>>> My idea is to start from osm plugin to understand how plugin are structured
>>> and keep only the map/chart part (only the OnlineMappingFeature and the
>>> entry class QGeoTileMappingManagerEngine)
>>>
>>> For now my main issue is the build structure.
>>> => how to build a plugin ? I would really prefer not having to build the
>>> whole Qt sources and have the plugin build seperatly
>>> => how to add the plugin the available plugin so it is recognized in my
>>> Plugin declaration in qml file ?
>>>
>>> The documentation is clear for some aspects (
>>> https://doc.qt.io/qt-5/qtlocation-geoservices.html), but not for the
>>> whole structure or maybe I'e not found the right web page.
>>>
>>> Regards,
>>>
>>> Chris
>>>
>>>
>>> _______________________________________________
>>> Interest mailing list
>>> Interest at qt-project.org
>>> https://lists.qt-project.org/listinfo/interest
>>>
>>
>>
>> --
>> Best regards,
>> Vlad
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190721/ce2e72d4/attachment.html>


More information about the Interest mailing list