From bd70dc5c5fe1b1ba4a14519e77f26257d9bb6a08 Mon Sep 17 00:00:00 2001
From: Andrew Knight <andrew.knight@digia.com>
Date: Fri, 1 Aug 2014 18:45:12 +0300
Subject: [PATCH] Remove d3dcompiler_qt from deployed libraries

This library was an experimental feature that has been removed from Qt.

Change-Id: I9bb6fb8a4392bd9e99b8f7e23212e3ff5c84a638
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
---
 src/windeployqt/main.cpp | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp
index 98ce9ef01..73cae157c 100644
--- a/src/windeployqt/main.cpp
+++ b/src/windeployqt/main.cpp
@@ -1081,15 +1081,6 @@ static DeployResult deploy(const Options &options,
                     deployedQtLibraries.push_back(d3dCompiler);
                 }
             }
-            // Deploy Qt's D3D compiler starting from 5.3 onwards.
-            if (version >= 0x050300) {
-                QString d3dCompilerQt = qtBinDir + QStringLiteral("/d3dcompiler_qt");
-                if (isDebug)
-                    d3dCompilerQt += QLatin1Char('d');
-                d3dCompilerQt += QLatin1String(windowsSharedLibrarySuffix);
-                if (QFileInfo(d3dCompilerQt).exists())
-                    deployedQtLibraries.push_back(d3dCompilerQt);
-            }
         } // deployAngle
     } // Windows
 
-- 
GitLab