Compilation error: windres: shotcut_resource.rc:6: error: syntax error

I guess you are using an incompatible build toolchain. I am using gcc from msys2 in automated build. I used to use that as well locally on my old Windows workstation. On my new Windows 11 system, I am using what is provided by Qt installer