Qt Extended Home · Build System Home · Reference · User Guide · Internals codeless banner

Register a service provider

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>.

myapp implements Telephony

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 qbuild.pro:

    service.hint=image
    service.files=dist/myapp
    service.path=/services/Telephony

See also Tasks, Services, and Create a new service.


Copyright © 2009 Trolltech
Qt Extended - Build System Documentation