I am trying to delete a directory containing sub-directories and files before the compilation starts from a qmake pro file:
if exists($$OUT_PWD/android-build/src) del_tree($$OUT_PWD/android-build/src)
I tried different commands like QMAKE_DEL_TREE
and $(DEL_TREE)
but nothing worked. How can I delete an eventually existing directory?