Removed -r option from qmake call.