initial commit to split repos

This commit is contained in:
2025-05-28 15:54:31 +02:00
parent 1582368303
commit bdcdf65432
52 changed files with 2027 additions and 0 deletions

14
generate.py Normal file
View File

@@ -0,0 +1,14 @@
import os
resource_file = "resources.qrc"
image_folder = "images"
with open(resource_file, "w") as f:
f.write('<!DOCTYPE RCC><RCC version="1.0">\n<qresource prefix="">\n')
for root, _, files in os.walk(image_folder):
for file in files:
if file.endswith('.png'):
f.write(f' <file>{os.path.join(image_folder, file)}</file>\n')
f.write('</qresource>\n</RCC>\n')
print(f"{resource_file} has been generated.")