AFAIK, there's no support for "in-memory files" like that. Remember that QtMultimedia uses the platform's multimedia framework which don't handle Qt types. If you take for example the handling of Qt's resource system when dealing with multimedia files, a temporary file is created so that the multimedia framework can access it.
If you want something lower level to avoid the temporary file, you'll have to implement it yourself.