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);
}
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);
}
To copy to clipboard, switch view to plain text mode
Thanks!
Bookmarks