qmake is certainly not going to do that though. If avanindra has chosen to do something oddball outside of the Qt build mechanism then the solution is obvious.