From bd86bb53664579bb8558bff523351fe4344dbd8f Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sat, 28 Aug 2021 14:45:54 +0300 Subject: [PATCH] build, qml: Explicitly disable experimental Direct3D 12 adaptation The Direct3D 12 adaptation is an alternative renderer for Qt Quick 2 when running on Windows, both for Win32 and UWP applications. Currently, being enabled it causes an error in Guix build for the x86_64-w64-mingw32 host. See: QTBUG-79925, QTBUG-86892. --- depends/packages/qt.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/depends/packages/qt.mk b/depends/packages/qt.mk index ff783377e4..43b23b86ea 100644 --- a/depends/packages/qt.mk +++ b/depends/packages/qt.mk @@ -165,6 +165,7 @@ $(package)_config_opts_riscv64_linux = -platform linux-g++ -xplatform bitcoin-li $(package)_config_opts_s390x_linux = -platform linux-g++ -xplatform bitcoin-linux-g++ $(package)_config_opts_mingw32 = -no-opengl +$(package)_config_opts_mingw32 += -no-d3d12 $(package)_config_opts_mingw32 += -no-dbus $(package)_config_opts_mingw32 += -xplatform win32-g++ $(package)_config_opts_mingw32 += "QMAKE_CFLAGS = '$($(package)_cflags) $($(package)_cppflags)'"