<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>I've got a project that has dependencies.</p>
<p>These dependencies have their own .pri file. Most of these
dependencies are just libraries that are built using another
IDE-generated makefile.</p>
<p>I want these dependencies to be cleaned when I clean or rebuild
my project using QtCreator. I have no problem performing a full
rebuild from the command line as I sequence the clean instructions
in the correct order. The problem is to trigger a full rebuild
from the GUI using a single click.</p>
<p>Note that when I build the project, the dependencies are
correctly built. The problem is to clean them when I want to.</p>
<p>Basically, I want to detect « I asked to clean » and trigger a «
make clean » in the dependencies.</p>
<p>I failed to find a solution and I spent a couple of hours playing
with qmake « hidden » features with no luck so far. I'm sure there
is a simple, qmake idiomatic, way of doing this, no ?</p>
<p>Best regards,<br>
Stanislas</p>
<p><br>
</p>
</body>
</html>