Skip to content

zhouxinlzu/qtservice

Repository files navigation

Qt Solutions Component: Service

The QtService component is useful for developing Windows services and Unix daemons.
wangwenx190: Some modifications were made to meet my personal needs.

Version history

2.0

  • Reimplemented for Qt 4 with improved API.

2.1

  • More feedback while installing / uninstalling.
  • Unix: Documentation about installing service improved.
  • Windows: Added account and password arguments to install().
  • Windows: Report status correcty when stopping through the controller.
  • Windows: Send command IDs correctly.

2.2

  • Unix: logMessage() works properly with '%' characters.
  • Windows: Dependency on the QtGui library removed.

2.3

  • Unix: Using QProcess in a service no longer leaves zombie processes around.
  • Windows: Place controller's receiver object in proper thread. (makes QtService work with Qt 4.2).
  • Compilation fixes for MinGW.

2.4

  • Windows: Do net require Administrator privileges just to start service.
  • Improved command-line help text.
  • Document the caveats of using GUI services, including that Vista does not support it.
  • Added -w(ait) argument to controller example.
  • Added doc about usage on Windows Vista.
  • Windows: Fix: GUI services would terminate on logoff.
  • Windows: internal redesign of threading. Fixes issue where signal/slot connections created before start() would not work. Fixes problem/warning about QApplication not created in main thread.

2.5

  • Fixes: crash on OS X Leopard. Note: On mac, main() will now be executed both in the starting process and in the forked, service process. This is consistent with the behaviour on Windows.
  • Fixes: Improved logging of multi-line messages on Unix.

2.6

  • Misc. minor fixes.
  • LGPL release.

2.7 (wangwenx190)

  • Removed Qt4 support (it's too old and too out-dated!).
  • Removed QLibrary dependency.
  • Adapted to modern C++.
  • Other minor tweaks.

License

  • Static linking: GPLv3
  • Shared linking: LGPLv3

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published