Currently, MinGW built widget applications fail to launch on Windows:
The reason is that src/gui/rhi/rhi.pri:43 LIBS += ... -ld3dcompiler apparently picks a D3DCOMPILER_43.lib from an unknown location.
Generally speaking, on Windows 10; there is a D3DCOMPILER_47.dll in the system, but Windows 7 only has D3DCOMPILER_43.dll . That is, apps built on Win10/MSVC with the dependency to D3DCOMPILER_47.dll won't run on Win7, which is a must.
So, the library should be dynamically loaded.
Note: D3D11.dll is present on both, this is not a problem.
|For Gerrit Dashboard: QTBUG-76845|
|266900,7||RHI/D3D11: Remove hard dependency on D3DCompiler library||dev||qt/qtbase||Status: MERGED||+2||0|
|270243,7||RHI/Windows: Fix launching of MSVC binaries on Windows 7||dev||qt/qtbase||Status: MERGED||+2||0|