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...@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 <vladstelmahov...@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...@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@qt-project.org >> https://lists.qt-project.org/listinfo/interest >> > > > -- > Best regards, > Vlad > >
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest