I don't see why the "-m windows" option is required at all, especially since it is ignored by MingW's GNU make.

Regarding the Qt dependency:
Qt Code:
  1. CONFIG -= qt
To copy to clipboard, switch view to plain text mode 
suppresses Qt libraries, and:
Qt Code:
  1. CONFIG -= console
To copy to clipboard, switch view to plain text mode 
to suppress the console on Windows (although it may be suppressed just by excluding Qt libraries). The app_bundle option only means something on Mas OS X.