Since this is pretty old, the solution is to at the bottom of the .pri file to use the export function. For every QMAKE key word you need an export for it.
In my above example I should append the following to the bottom:
I've tried that too ... but I see what I'm doing wrong. I guess you have to manually run qmake every time you delete the folder to test it or else it won't update the condition. I just kept rebuilding it, which didn't work. Thanks. Guess one of my previous conditions would have worked for this as well.