winresource, not winres: winres has been unmaintained since 2021 and this is its maintained fork. Gated to cfg(windows) as a target build-dependency, so no other platform resolves it at all. The manifest declares longPathAware and NOTHING else. Qt 6 sets PerMonitorV2 itself at startup and a manifest DPI declaration is immutable, so the two together either log a permanent COM error 0x5 or degrade scaling - Qt owns DPI awareness. The .ico carries 256/128/64/48/32. The four small entries are BMP and only 256 is PNG: measured on this box, System.Drawing.Icon (GDI+) throws ArgumentOutOfRangeException in ToBitmap() on a PNG-payload entry, while WIC decodes it. 256 has to be PNG because the directory encodes its size as 0. Pixels verified against the source PNG at four points including an asymmetric one, which is what proves the BGRA order and the bottom-up flip. cc
20 lines
929 B
XML
20 lines
929 B
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
|
<assemblyIdentity type="win32" name="com.blitzfc.qbz" version="1.0.0.0" />
|
|
<!-- longPathAware only. Do NOT add dpiAware/dpiAwareness: Qt 6 sets
|
|
PerMonitorV2 at startup and a manifest declaration is immutable, so
|
|
declaring one here either logs a permanent COM error 0x5 or degrades
|
|
scaling. Qt owns DPI awareness. -->
|
|
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
|
<windowsSettings>
|
|
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
|
|
</windowsSettings>
|
|
</application>
|
|
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
|
<application>
|
|
<!-- Windows 10 / 11 -->
|
|
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
|
|
</application>
|
|
</compatibility>
|
|
</assembly>
|