MinGW and Side-by-Side Manifests

submited by
Style Pass
2024-11-14 20:00:06

This meant that Qt 5.15.x 32 and 64 bit users would not be able to debug their applications using the Qt 5.15.x MinGW Kit, which uses MinGW 8.1 and GDB 8.1 šŸ˜±

The easy solution would be to just update GDB 11.2.0 from the MinGW 11.2.0 package, which uses Python 3 for the GDB pretty printers.

There is an issue though: GDB has a C++ Runtime dependency in form of DLL files, which are also shared by other tools from the toolchain (gcc compiler for example) and they are incompatible between MinGW version 8.1 and 11.2.

An application manifest (also known as a side-by-side application manifest, or a fusion manifest) is an XML file that describes and identifies the shared and private side-by-side assemblies that an application should bind to at run time. These should be the same assembly versions that were used to test the application. Application manifests might also describe metadata for files that are private to the application.

This xml file will have to be included in the executable as a resource by using the mt.exe tool (LLVM offers a llvm-mt.exe alternative).

Leave a Comment