Skip to content

Instantly share code, notes, and snippets.

@jack9603301
jack9603301 / generate-MAC
Created January 14, 2024 02:56 — forked from tomval2k/generate-MAC
Generate a random MAC address in linux shell
hexdump -n6 -e '6/1 ":%02x"' /dev/urandom | awk ' { sub(/^:../, "02"); print } '
@JohannesKauffmann
JohannesKauffmann / qt5_mingw112.md
Last active June 10, 2024 15:55
Compiling Qt 5 with MinGW 11.2 on Windows

Compiling Qt 5 with MinGW 11.2 on Windows

Prerequisites:

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