[Interest] Qt Service Framework in Qt 5 Beta Release 2
Lincoln Ramsay
a1291762 at gmail.com
Wed Nov 14 23:50:42 CET 2012
On 15/11/12 02:19, Miller, Doug wrote:
> So if I'm using Qt 5 Beta Release 2 please tell me where to find Qt Service Framework now.
Hmm. I guess in general there needs to be some work done on promoting
and documenting things that are no longer shipped with Qt, since using
them now probably means downloading source code and building it. I'm
sure if there was a full-time maintainer for service framework this
would get fixed :)
Service framework lives in the qtsystems repo.
http://qt.gitorious.org/qt/qtsystems
Clone that to a machine with Qt 5 on it and then, assuming you only want
service framework, build with something like this:
qmake -r qtsystems.pro CONFIG+=without-publishsubscribe
CONFIG+=without-systeminfo
make
Depending on how your Qt was built, you probably need to 'make install'
this before you can use it elsewhere. I'm not sure how that works with
binary builds of Qt 5 though.
You need QT += serviceframework in your .pro. Headers should be the same
as what was in Mobility.
If you want to run unit tests or see the examples, you can manually
build in those directories or add these to your qmake arguments:
QT_BUILD_PARTS+=tests QT_BUILD_PARTS+=examples
--
Link
More information about the Interest
mailing list