In some of my projects I use some pre-build step(s) configured in the .pro file. So qmake will execute this step whenever it is activated.
qmake
Now in QtCreator,
I'm using the following codes in my .pro file.
QMAKE_CLEAN += ./Makefile
This makes run qmake whenever executing clean.