QEMU in qemu\ is QEMU 11.1.2 with the changes in qemu-11.1.2-wopr.patch (the D3D11 display with
embedding, the qegl GL device, WHPX and input fixes).

  upstream source:  https://download.qemu.org/qemu-11.1.2.tar.xz
  apply:            cd qemu-11.1.2 && patch -p1 < qemu-11.1.2-wopr.patch
  build (MSYS2 UCRT64):
    mkdir build && cd build && '../configure' '--prefix=<install folder>' '--target-list=m68k-softmmu,ppc-softmmu,x86_64-softmmu' '--extra-cflags=-march=x86-64-v2 -mtune=generic -O2' '--disable-werror' '--disable-docs' '--disable-debug-info' '--disable-tcg-interpreter' '--enable-sdl' '--disable-gtk' '--enable-slirp' '--enable-whpx' '--enable-zstd' && ninja && ninja install

Mesa in qemu\mesa\ (opengl32.dll, libgallium_wgl.dll), which the qegl device's Zink backend loads,
is Mesa 26.2.4 with patches 0001-0007 in mesa-patches\ (INDEX.txt says what each one fixes).
Mesa's licenses are in ..\licenses\mesa\.

  upstream source:  https://archive.mesa3d.org/mesa-26.2.4.tar.xz
  apply:            cd mesa-26.2.4 && for p in ../mesa-patches/0*.patch; do patch -p1 < $p; done
  build (MSYS2 UCRT64, Python with mako and pyyaml):
    meson setup build --buildtype=release -Db_ndebug=true -Dplatforms=windows \
      -Dgallium-drivers=zink,softpipe -Dvulkan-drivers= -Dllvm=disabled -Dopengl=true \
      -Dgles1=disabled -Dgles2=disabled -Degl=disabled -Dglx=disabled -Dgbm=disabled \
      -Dgallium-va=disabled -Dgallium-rusticl=false -Dmicrosoft-clc=disabled -Dspirv-to-dxil=false \
      -Dgallium-mediafoundation=disabled -Dvideo-codecs= -Dzstd=disabled -Dexpat=disabled \
      -Dxmlconfig=disabled -Dbuild-tests=false -Dvalgrind=disabled -Dlibunwind=disabled \
      -Dlmsensors=disabled -Dspirv-tools=disabled \
      -Dc_link_args=-static-libgcc "-Dcpp_link_args=-static-libgcc -static-libstdc++"
    ninja -C build

The DLLs in qemu\ and qemu\mesa\ come from MSYS2 packages; ..\licenses\MSYS2-PACKAGES.txt lists
them with versions, and their sources are at https://packages.msys2.org/.
