If you delete file before deleting tasks.
You have to recreate blank qvw file with the same name as that of earlier. and make sure you have same task name.
Once replace, first you have to delete task and any allocated cals to this document if any.
Then you can delete the source QVW file.