[Solved] Creating Windows Services (Nt Services) using Qt
I'm looking for a way to create Windows services using Qt. I searched the net but couldn't find a way. Doesn't Qt provide a standard way of doing this, or should go go the old Winapi way? I found that there was a class QtService, but for an unknown reason for me, it is no longer avaliable in latest Qt package. Any help would be appreciated.
There is no standard way to achieve this. You can use Qt to create the application, but there is no cross platform API in Qt to install a service (Windows), launch daemon/agent (Mac) or the equivalent on a Linux/Unix system.
You can use the Service solution:
Solution archive: http://qt.nokia.com/products/qt-addons/solutions-archive/
Thanks ckakman, you saved me many hours of work :)
Have you had success with services?
I can obtain only an "Error 3" ("The system can not find the path", or something)