From 54e114f20daf2540d76f1cda2cdb972e7b8c3f78 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Wed, 19 Jul 2023 16:37:08 +0200 Subject: [PATCH] rhi: d3d12: Clean up the warning shown when dxc libs are missing Since this was written we added support in windeployqt to find these DLLs similarly to how the old d3dcompiler_*.dll is bundled. Therefore, rephrase a little bit. Change-Id: I13eafea67607900307ff84da3323e84e066de9f8 Reviewed-by: Laszlo Agocs --- src/gui/rhi/qrhid3d12.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/rhi/qrhid3d12.cpp b/src/gui/rhi/qrhid3d12.cpp index ccf56cb704..cbeef5c2cb 100644 --- a/src/gui/rhi/qrhid3d12.cpp +++ b/src/gui/rhi/qrhid3d12.cpp @@ -4929,7 +4929,7 @@ static QByteArray dxcCompile(const QShaderCode &hlslSource, const char *target, IDxcCompiler *compiler = dxc.first; if (!compiler) { qWarning("Unable to instantiate IDxcCompiler. Likely no dxcompiler.dll and dxil.dll present. " - "Bundling these are out of scope for Qt. Try https://github.com/microsoft/DirectXShaderCompiler/releases"); + "Use windeployqt or try https://github.com/microsoft/DirectXShaderCompiler/releases"); return QByteArray(); } IDxcLibrary *library = dxc.second;