About QtService don't start on Mac OS X 10.6
-
Hi, buddy
I used QtService ("Open source":http://qt.gitorious.org/qt-solutions) 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 platformMy development enviroment:
Qt 4.7.0
Mac OS X 10.6
Xcode -
Add:
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?