URI schemes (and default paths) to access resources in Qt/QML applications?

asked 2013-12-31 12:46:38 +0300

bilog gravatar image

Hello all,

I'm looking for a (as detailed and complete as possible) list for the URI schemes that are available to applications when accessing resources.

For example, the SDK sample app uses image://theme/ to access theme icons. Are there similar paths to access icons shipped with the application itself, together with standard locations where these should actually be placed in the filesystem? (I don't know, something like image://app/ or whatever).

What about other resources that might be needed by the application?

For example, I'm writing an application that ships with an .xml file, which I'm currently placing in %{_datadir} (i.e. /usr/share/appname/). Is this path available through some appropriate uri scheme in Qt/QML?

edit retag flag offensive close delete