Comment 3 for bug 1534906

Revision history for this message
Adam Reichold (adamreichold) wrote : Re: use png icons when built without svg

Hello djcj,

thank you for your detailed explanation. First of all, let me remark that building under MSYS and running under Wine is a pretty niche scenario for an already niche application IMHO, which limits the amount of maintenance burden I would be willing to carry for this.

What I could do to make the above scenario simpler is using the alias function of Qt's resource system [1] to reference the icons with a format-independent name in the application so that patching the source would be unnecessary. Converting the icons and patching the QRC file however does not look out of place in a packaging script IMHO. What do you think about this?

Best regards, Adam.

[1] https://doc.qt.io/qt-4.8/resources.html#resource-collection-files-op-op-qrc