How do I compile a Qt resource file that is generated via a CMake add_custom_command() target? qt4_add_resource() doesn't seem to work as it expects non-generated files. Thanks, Eric.