PDA

View Full Version : Was QtService deprecated in Qt4.8



learning_qt
8th November 2012, 07:27
Hi,

Was QtService deprecated in Qt4.8?

If true, how can I change the source code


class HttpService : public QtService<QCoreApplication>
{
public:
HttpService(int argc, char **argv)
: QtService<QCoreApplication>(argc, argv, "Qt HTTP Daemon")
{
setServiceDescription("A dummy HTTP service implemented with Qt");
setServiceFlags(QtServiceBase::CanBeSuspended);
}

Thanks!

learning_qt
8th November 2012, 10:30
This problem was resolved!