BIM: Added missing resource for welcome screen

This commit is contained in:
Yorik van Havre
2024-05-07 13:41:15 +02:00
committed by Yorik van Havre
parent a5e1f64d1f
commit 4fe0b17f8e
3 changed files with 2 additions and 1 deletions

View File

@@ -152,6 +152,7 @@
<file>icons/Part_document.svg</file>
<file>icons/Sketch.svg</file>
<file>icons/Tree_Part.svg</file>
<file>icons/banner.png</file>
<file>icons/preferences-arch.svg</file>
<file>icons/techdraw-ArchView.svg</file>
<file>icons/techdraw-PageDefault.svg</file>

View File

@@ -8,7 +8,7 @@ for subdir in ["icons", "ui", "translations"]:
for f in sorted(os.listdir(subpath)):
if f not in ["Arch.ts", "BIM.ts"]:
ext = os.path.splitext(f)[1]
if ext.lower() in [".qm", ".svg", ".ui"]:
if ext.lower() in [".qm", ".svg", ".ui", ".png"]:
txt += " <file>" + subdir + "/" + f + "</file>\n"
txt += " </qresource>\n</RCC>\n"
with open(os.path.join(cdir, "Arch.qrc"), "w") as resfile:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB