Hi,

Was QtService deprecated in Qt4.8?

If true, how can I change the source code

Qt Code:
  1. class HttpService : public QtService<QCoreApplication>
  2. {
  3. public:
  4. HttpService(int argc, char **argv)
  5. : QtService<QCoreApplication>(argc, argv, "Qt HTTP Daemon")
  6. {
  7. setServiceDescription("A dummy HTTP service implemented with Qt");
  8. setServiceFlags(QtServiceBase::CanBeSuspended);
  9. }
To copy to clipboard, switch view to plain text mode 

Thanks!