Please nominate your Qt Champions for 2021!

About QtService don't start on Mac OS X 10.6

  • Hi, buddy
    I used QtService ("Open source": 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:
    Qt 4.7.0
    Mac OS X 10.6

  • 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?

  • I test on virtual machine, it works well. Thanks

Log in to reply