so I included qconfig-minimal.h and got rid of some of the compile errors by undefining
QT_NO_TEXTSTREAM and QT_NO_SETTINGS. But I got no change in executable size. Maybe VC already does a good job of truncating the unused functions. I note that QtCore.lib is 14MB and QtNetwork about 1.4MB, so maybe I should just be happy that it's less than 1MB and hope no one notices.