def METHOD_NAME():
    # python generate-mumble_qt-qrc.py <output-fn> [inputs...] localDir
    parser = argparse.ArgumentParser()
    parser.add_argument("--output", help="The path to which to write the generated QRC file", metavar="PATH", required=True)
    parser.add_argument("--translation-dir", help="The path to the directory containing the official Qt translations",
            action="append", metavar="PATH", required=True)
    parser.add_argument("--local-translation-dir", help="The path to the local translation directory", metavar="PATH", required=True)
    args = parser.parse_args()
    # parse config file
    configFile = os.path.join(args.local_translation_dir, "translations.conf")
    if os.path.isfile(configFile):
        parseTranslationsConfig(configFile)
    of = open(args.output, 'w')
    of.write('<!DOCTYPE RCC><RCC version="1.0">\n')
    of.write('<qresource>\n')
    processedComponents = []
    for dirName in args.translation_dir:
        processedComponents.extend(dirToQrc(of, dirName, processedComponents))
    # Process translations provided by Mumble itself (aka local translations)
    filesToQrc(of, processedComponents, local_qt_translations, args.local_translation_dir, True)
    of.write('</qresource>\n')
    of.write('</RCC>\n')
    of.close()