[Interest] QtLocation plugin - geoservices
oxygen77.ct at gmail.com
Sun Jul 21 22:21:33 CEST 2019
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.
sans virus. www.avast.com
Le ven. 19 juil. 2019 à 17:43, Christophe Thomas <oxygen77.ct at gmail.com> a
> 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
> 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 ?
> 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,
>> Le 18 juil. 2019 à 11:26, Vlad Stelmahovsky <vladstelmahovsky at gmail.com>
>> a écrit :
>> Hi Christophe
>> might be this will be good starting point:
>> 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
>> On Thu, Jul 18, 2019 at 9:24 AM Christophe Thomas <oxygen77.ct at gmail.com>
>>> 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.
>>> Interest mailing list
>>> Interest at qt-project.org
>> Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest