What is the purpose of 'make qmake_all'?
Solved
General and Desktop
-
Hello !
I'm trying to build a Qt project from the command line.
So I looked at the commands run in Qt Creator when building a project.
And after theqmake
, I saw amake qmake_all
.So basically, instead of having:
qmake make
we have:
qmake make qmake_all make
But what is exactly the goal of
make qmake_all
? Do I need to run it?
It seems that it's running all the qmake of subprojects but by runningmake
it's also doing it. Do I keep it?Thanks for your help!!
-
Hi,
This is just speculation but if memory serves well, people often forget to rerun qmake when adding or removing the Q_OBJECT macro and thus having build issues. That target was likely added to the Qt Creator flow to avoid this failure that triggered quite a few threads on this forum.