I would like to run a Python scirpt for qmllint after building the project.
I found QMAKE_POST_LINK, but I don't really understand how it works and how to run a python script using it.
Why QMAKE_POST_LINK = system(python myScript.py) doesn't work?
qmake will add the value of QMAKE_POST_LINK directly to the Makefile, so you cannot use qmake functions but direct commands.
So I think it should be something like