June 11, 2011

yeaiping yeaiping
Lab Rat
24 posts

About QtService don’t start on Mac OS X 10.6

 

Hi, buddy
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:
Qt 4.7.0
Mac OS X 10.6
Xcode

 Signature 

A smile is my sharp weapon (:

2 replies

June 11, 2011

yeaiping yeaiping
Lab Rat
24 posts

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?

 Signature 

A smile is my sharp weapon (:

June 16, 2011

yeaiping yeaiping
Lab Rat
24 posts

I test on virtual machine, it works well. Thanks

 Signature 

A smile is my sharp weapon (:

 
  ‹‹ [Solved] QVariant and custom types      [Solved] -std=c++0x causes compilation error ››

You must log in to post a reply. Not a member yet? Register here!