Why don't you just change the contents of mkspecs/default/qmake.conf?