summaryrefslogtreecommitdiffstats
path: root/src/gui/configure.json
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2017-12-12 20:02:55 +0100
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2018-12-17 21:29:11 +0000
commit7a481fce28b0ffbb77f8631673009bf9bf615088 (patch)
treec027ebdeaafb5902d48e8171e607f43bed848591 /src/gui/configure.json
parent1ef9859e7e0b0d2a88acd287b5b1e4bea8b27ae8 (diff)
configure: detect fxc.exe more thoroughly
When building ANGLE, we need the shader compiler (fxc.exe), which is not shipped with MinGW. Previously, we required an installed DirectX SDK. For Windows versions >= 8, the DX SDK is also part of the Windows Kit, so we also allow the user to specify the location of the Windows Kit. We also detect fxc on 64-bit hosts now, and in newer SDK versions which version the binary directory. The detected binary is now exported by configure, so the ANGLE project file does not need to duplicate the logic anymore. Task-number: QTBUG-52487 Change-Id: I41a17992909041dd84291b69498195cc8b8fab8a Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/gui/configure.json')
-rw-r--r--src/gui/configure.json11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/gui/configure.json b/src/gui/configure.json
index dd48567cb9..db78c7900c 100644
--- a/src/gui/configure.json
+++ b/src/gui/configure.json
@@ -728,10 +728,6 @@
}
},
- "testTypeAliases": {
- "files": [ "fxc" ]
- },
-
"tests": {
"angle_d3d11_qdtd": {
"label": "D3D11_QUERY_DATA_TIMESTAMP_DISJOINT",
@@ -747,9 +743,7 @@
"fxc": {
"label": "Direct3D Shader Compiler",
"type": "fxc",
- "files": [
- "fxc.exe"
- ]
+ "log": "value"
},
"drm_atomic": {
"label": "DRM Atomic API",
@@ -1010,7 +1004,8 @@
"condition": "features.dxguid && tests.fxc && (features.direct3d9 || (config.winrt && features.direct3d11 && libs.d3dcompiler))",
"output": [
"publicFeature",
- { "type": "define", "name": "QT_OPENGL_ES_2_ANGLE" }
+ { "type": "define", "name": "QT_OPENGL_ES_2_ANGLE" },
+ { "type": "varAssign", "name": "QMAKE_FXC_LOCATION", "value": "tests.fxc.value" }
]
},
"angle_d3d11_qdtd": {