qt5gui.dll Error in Windows 10 and 11: Qt 5 graphics initialization errors

A Qt 5 desktop app fails before opening its window and reports Qt5Gui.dll or a missing procedure.
What this DLL does
Qt5Gui.dll supplies Qt 5 graphical application functions in compatible Windows releases.
Start with this check
Identify the publisher, app architecture and full error path. Check whether the app is a full installation or a copied executable.
Record the exact error, when it occurred, and the full module path if available. For a crash, open View reliability history from Start and look for the matching entry. The affected app, faulting module and exception code help distinguish an app problem from a system-wide one.
Choose the repair that fits
Repair the official app. For your own build use its matching Qt 5 deployment tools and package the required platform plugins with the runtime.
Start with Microsoft’s app repair options if only one supported application fails. If unrelated built-in Windows features also fail and you suspect system file corruption, use Microsoft’s DISM and System File Checker instructions. Use supported packages and avoid downloading individual DLL files.
Verify the repair
Start the app from its deployed folder and open its normal graphics view.
For a related check, see qt5core.dll troubleshooting. Browse the DLL Errors & Fixes Library. Official reference: Qt’s official Windows deployment guide for Qt 5.