I need to specify a root path RCC during resource generation.

I.e., given this input file:

<qresource prefix="/my_prefix" >
<file alias="my_alias" >my_file.xyz</file>

if my_file.xyz is contained in /home/somewhere, I'd like to tell RCC (via command line) "hey, look for my_file.xyz in /home/somewhere".

I cannot specify such path in resource input file, cause I'll know the destination of my_file.xyz only during build (I use cmake). So I'd like to specify the root path for my_file.xyz during rcc invocation.

I found out that RCC supports "-root path" option, but it seems related to the logical path of resource ("my_prefix"), instead of the real one.

Do you know how can I solve this problem?

Thanks a lot,