What can I put in my .pro file that would create a vcproj file so that it would have a different output directory/filename in the output line when switching from debug to release?

example. I am making two static libraries (one for debug and one for release). The output directory is ..\lib and the filenames are DataToArray.lib (for release mode) and DataToArray_d.lib (for debug mode).

I'm using Qt4.3 and VS.NET 2003.

Thanks,
James