I compile my Qt Resource Collection (QRC) and import it in my Python project, now I would like to be able to access a file in my QRC using subprocess. How can I do this?
I tried this below, but it does not access the compiled QRC...
import application_rc
test = QUrl("qrc:///resources/sounds/LRMonoPhase4.wav").path()
process = subprocess.Popen(["aplay", test],
shell=False, stderr=subprocess.PIPE)