Skip to content

Instantly share code, notes, and snippets.

View JohannesKauffmann's full-sized avatar

Johannes Kauffmann JohannesKauffmann

View GitHub Profile
From c01763ea13416e974fa438a972c9739d5abb8ec3 Mon Sep 17 00:00:00 2001
From: Johannes Kauffmann <johanneskauffmann@hotmail.com>
Date: Tue, 11 Oct 2022 23:06:28 +0200
Subject: [PATCH] qsimd: Workaround 32bits MinGW compiler bug
GCC PR 58372 [1] causes ICE compiling qsimd.cpp on 32bits MinGW. Work
around this by detecting 32bits MinGW on the affected GCC versions:
GCC <= 7.3.0 and GCC <= 8.2.0 on 8.x.
The wiki [2] lists i686-8.1.0-release-posix-dwarf-rt_v6-rev0 as a
@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]: