Thanks for the answer!
OK, the define's just a define, no biggie, but the reference to qmake troubles me. Will it be possible to run qmake on my pc and generate, say an msvc makefile, zip the whole thing, transfer to another pc (without any part of Qt installed), unzip and run nmake on that makefile to build the project?
I'll look into the CONFIG -= lex and others to see if they help.