Does anyone know of a tool/script that:
I don't know of a tool, but QRC files are basically XML so can be read and processed like any normal ASCII file. It probably would not be too hard to write a python program to 1) read each <file> entry from the QRC file, 2) verify that the file exists on disk (if needed), and 3) matches the use in a cpp / h file. For step 3, you could fire off grep with the filename as the target to match so you wouldn't have to write that part.