I'm working with pre-generated "rcc" resource files I'm loading during run-time.
I want to have a hierarchical resource mechanism - one "rcc" file has resources on the application level. After that a user specific resource file is registered.
If both of my resource files have the file "logo.png", after registering both rcc files with QResource::registerResource how can I differentiate the two different files?
I understand I could use the alias mechanism (or alternatively the prefix) to make sure every access is fully qualified ":global/logo" as opposed to ":user/logo") BUT then I'd have to wrap every access so that the user accesses the correct file.
Ideally I'd have some way of saying ":logo.png" and getting the correct file based on the user's resource override.
Any tips on the matter?
Also - is the default behavior overriding the files? I coded it and think it is but just to be sure...
Bookmarks