I think you'd better keep %qmake variable. In my old memory, the name of qmake was differenent for each distro(fedora, suse, mandriva).