[Interest] Qt5, QtMobility API: Qt Service Framework

Andrew Stanley-Jones asj at cban.com
Tue Oct 2 02:14:41 CEST 2012


Qt Service Framework in qtsystems/qtserviceframework and received a
lot of attention for Qt 5, with a lot of bug fixes, etc.  All the unit
tests work on windows, so it should be in a functional state.  Since
I've left Nokia I no longer have anyone paying my to work on it, but
I'm trying to keep on eye on it and would like to find time to
maintain it properly.

On the todo list is fixing docs and getting Lincoln's SFW networking patch in.

The best way to get started is to look at the examples.  There's a
service example, and a QML client example.  The basic steps are:

1. use servicefw to register the service meta data (XML file).
2. make sure the service executable is in your path, or run it by hand.
3. start the client and instantiate the service.

Feel free to email me if you need any more help, have questions, etc.
The main Qt guys in Oslo/Germany have always preferred to ignore SFW,
so I can't speak on it's level of support from them.  Which is
unfortunate and I think a mistake, but I like it and would like to see
it grow more and do my best to help there.

Cheers,

-Andrew

>
> I need cross-platform client/server inter-process communication (IPC),
> and intend to use Qt5+.
>
> It seems the blog post regarding the QtMobility API, "Qt Service
> Framework" is the way to go:
>
>   - Initial blog post:
>     - http://labs.qt.nokia.com/2009/05/26/qt-service-framework/
>
>   - Qt5 (beta) documentation:
>     - http://doc.qt.digia.com/qtmobility/service-frameworks.html
>     - http://doc-snapshot.qt-project.org/5.0/service-frameworks.html
>
>   - discussion about SWF, IPC, QtService:
>     - http://lists.qt.nokia.com/pipermail/qt5-feedback/2011-June/000567.html
>
> This provides a high-level cross-platform interface for IPC, wrapping
> named-pipes or DBus or some platform-appropriate technology.  Yay.
> That's what I want.
>
> NOTE: I see the QtMobility API is an add-on.  That's fine, but I'm
> specifically interested in its use in "desktop".
>
> QUESTION: Is the "Qt Service Framework" the intended future-direction
> for high-level cross-platform IPC going-forward, and is it intended to
> work for Qt5-Final?
>
> (On Windows/Qt5-Beta1, it's not obvious to me how to get it
> installed-and-working-correctly.)
>
> My "fall-back" for now would be to use QLocalSocket/QLocalServer and
> do the process-discovery work myself.  I'm just wondering if I should
> expect to do that upon release of Qt5-final.
>
> Thanks!
>
> --charley
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
>
>



--
Andrew Stanley-Jones
"It's kind of fun to do the impossible" -- Walt Disney



More information about the Interest mailing list