About QtService don’t start on Mac OS X 10.6
I used QtService (Open source [qt.gitorious.org]) to complete a cross-platform service(daemon).
I tested on Windows NT systems, and it work well. But when I run on Mac OS X 10.6, although install success(only write configuration under “$HOME/Library/Preferences/com.QtSoftware.plist”), but reboot the system, the daemon not auto startup. what happen?
I saw the QtService document , test ok on Qt 4.4, 4.5 / MacOS X 10.5 / gcc platform
My development enviroment:
Mac OS X 10.6
I saw some comment on document:
On Unix service configuration is written to QSettings::SystemScope
using “QtSoftware” as organization name. \a account and \a password
arguments are ignored.
\warning Due to the different implementations of how services (daemons) are installed on various UNIX-like systems, this method doesn’t integrate the service into the system’s startup scripts.
And 10.6 system changed the daemon mechanism?