Thank you for this link. It looks like qconfigure.bat's -I and -L command line options are not working. The way the link gets around that problem is by adding them to the environment variables PATH, LIB, and INCLUDE set in vcvars32.bat.