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

hint=content

Usage

    foo.files=myring.wav
    foo.path=/etc/SystemRingTones
    foo.categories=SystemRingtones
    foo.hint=content

Description

Specify content files that should be installed into the image. As well as being copied, content entries are added to the PREFIX database. This means that you do not need separate .desktop install rules to get the content information into the PREFIX database. You can set categories for your items but you must ensure that the categories exist in the database already. This is most easily achieved by registering a .directory file (as demonstrated in Create a launcher folder).

Note that this does not work when you create a package. The files themselves will be installed but they will not be registered as content items on the device. You should use QContentSet::scan() to register your files if your app is installed from a package.

See also Install Hints.


Copyright © 2009 Nokia
Qt Extended - Build System Documentation