Yes, you also have to change QMAKESPEC to win32-g++(still an environment variable).

Try uninstalling whatever you installed from that CD that came with the book. Maybe you have some conflicts.

Then rebuild the application.

Regards