Prerequisites:
- Visual Studio, with fxc.exe from Windows Kits
- MinGW 11.2 from Qt official installer
- Checkout the kde/5.15 branch from invent.kde.org
- In a x64 Visual Studio dev prompt:
where fxc.exe
. Then add that directory to the PATH. - Add the MinGW
bin/
folder to PATH (typicallyC:\Qt\Tools\mingw1120_64
for the official Qt installer). - Apply this diff to qtdeclarative to fix D3D12 FTBFS issues [1]: