| Home · Reference · User Guide · Internals |
Applications must register in order to provide a service.
This is done by creating a file with the same name as the binary and installing it into /services/<service>.
Here's an example of an app with TARGET=myapp that implements the Telephony service.
Create dist/myapp with the following contents:
[Extensions]
[Standard]
Version = 100
Then install the file by adding the following to myapp.pro:
service.files=$$PWD/dist/myapp
service.path=/services/Telephony
INSTALLS+=service
See also Tasks, Services, and Create a new service.
| Copyright © 2007 Trolltech | Qtopia Build System Documentation |