Apply qmakespec