That's assuming we get a full path to the file, it may just be a command in the PATH.
It is fine if that command doesn't exist, we check the error of the subprocess.run() call.
... to restore compatiblity with Python 3.6.
This was initroduced in commit 177d049950,
which broke compilation on openSUSE Leap 15, which uses Python 3.6 als
default Python interpreter.
Fixes#28636
Signed-off-by: Olaf Hering <olaf@aepfle.de>
The target qmake uses the native qmake with this extra parameter.
And add some extra logs.
We don't want to rebuild the target qmake (and the whole Qt) just to get this
script.