Restored prevoius qmakecmd function