'print cmdline if an error occured
If something is missing (qmake e.g.) you get a non-informative error
self.check_call(qmc + [ext.name+\'.pro\'])
so you would have to look a the source to see the actual command.'

def check_call(self, *args, **kwargs):

    try:
        subprocess.check_call(*args, **kwargs)
    except:
        cmdline = '    '.join([(('"%s"' % arg) if ('    ' in arg) else arg) for arg in args[0]])
        print ('Error    while    executing:    %s\n' % cmdline)
        raise
