[Development] QtSingleApplication in Qt proper?
apoenitz at t-online.de
Fri Jun 17 18:30:15 CEST 2016
On Fri, Jun 17, 2016 at 12:55:20PM +0200, Jordi Pujol Foyo wrote:
> From QtService.cpp :
> "The QtService is a convenient template class that allows
> you to create a service for a particular application type.
> A Windows service or Unix daemon (a "service"), is a program that
> runs "in the background" independently of whether a user is logged
> in or not. A service is often set up to start when the machine
> boots up, and will typically run continuously as long as the
> machine is on.
> Services are usually non-interactive console applications. User
> interaction, if required, is usually implemented in a separate,
> normal GUI application that communicates with the service through
> an IPC channel. For simple communication,
> QtServiceController::sendCommand() and QtService::processCommand()
> may be used, possibly in combination with a shared settings file. For
> more complex, interactive communication, a custom IPC channel
> should be used, e.g. based on Qt's networking classes. (In certain
> circumstances, a service may provide a GUI itself, ref. the
> "interactive" example documentation)."
> +1 from me to add this to QtCore
ORLY? Maybe directly inline it in qglobal.h so it won't be overlooked?
More information about the Development