def generateQRC():
    outfile = resourcePath(('%s-resources.qrc' % _BASENAME))
    print(('Dumping %s' % outfile))
    et = ElementTree
    xml = et.Element('RCC')
    xresource = et.Element('qresource')
    xml.append(xresource)
    resdir = resourcePath()
    for f in __resourceFiles():
        x = et.Element('file')
        p = os.path.relpath(f, resdir).replace(os.sep, '/')
        x.text = p
        xresource.append(x)
    xmlstring = et.tostring(xml)
    xmldom = minidom.parseString(xmlstring)
    xmlpretty = xmldom.toprettyxml()
    with open(outfile, 'w') as fp:
        fp.write(xmlpretty)
def generateQRC():
    outfile = resourcePath(('%s-resources.qrc' % _BASENAME))
    print(('Dumping %s' % outfile))
    et = ElementTree
    xml = et.Element('RCC')
    xresource = et.Element('qresource')
    xml.append(xresource)
    resdir = resourcePath()
    for f in __resourceFiles():
        x = et.Element('file')
        p = os.path.relpath(f, resdir).replace(os.sep, '/')
        x.text = p
        xresource.append(x)
    xmlstring = et.tostring(xml)
    xmldom = minidom.parseString(xmlstring)
    xmlpretty = xmldom.toprettyxml()
    with open(outfile, 'w') as fp:
        fp.write(xmlpretty)