PDA

View Full Version : Is QtService and QtServiceBase classes available in qt 5.0.0?



sourabh dhingra
8th July 2013, 13:05
Hi

I'm using Qt 5.0.2 on windows XP that comes with mingw 4.7.

I am trying to build qtservice using qtcreator but I am facing a problem on this statement.

#include <QtService>

On compilation it shows Error:QtService: No such file or directory

I searched for QtService in minGW's include folder inside my Qt installation directory but did not find it.

Is QtService and QtServiceBase classes not provided in Qt 5.0.2?
If not so can anybody share a simple QtService example for windows?

Sincerly
Sourabh Dhingra

ChrisW67
8th July 2013, 22:10
QtService has never been part of the base Qt4, it was provided as a Qt Solution for those who wished to build it. As far as I know that has not changed in Qt5
http://qt.gitorious.org/qt-solutions

sourabh dhingra
9th July 2013, 07:25
Okay, There's another question.

Over the internet I read Qt Solutions have been re-licensed and it will be available for those who own a commercial enterprise license.
Is that true?
My intention is to use QtService component.
Please elaborate which of the components are freely available and about how to use repository at http://qt.gitorious.org/qt-solutions.

Sincerly
Sourabh Dhingra

ChrisW67
9th July 2013, 11:39
Every source file in the Qt Solutions archive carries a licence statement. Some are LGPL, some BSD.