Debian is not (yet) my number one Linux distribution, and because of that I'm not really familiar with the procedures to do things cleanly regarding packages.
Some time ago I tried to install the Last.fm Player on a Debian system. I installed the Qt4 development packages (qt4-devel I think) but as soon as I did
inside the extracted Last.fm source directory it complained that the *.ui files are too new. No wonder, the Qt3 version of the uic command tried to process *.ui files generated with Qt4 Designer. After a lot of trying I gave up for that moment.
Often, when you're stuck, it's a good idea to put it aside and do something else. The good ideas will pop up later on.
So after two months, another try to get it working. And I got the brilliant idea to not call just qmake but using the absolute path:
Blast! That worked; the right tools were detected. A simple
did the rest of the process and now the player is working as a charm. So simple, but I felt like sharing this.