ANGLE: remove dead MinGW code from common.pri

Change-Id: I09a9d0553f00a3b04d084300cb6e2b9f5211913e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
Oliver Wolff 2017-03-23 09:34:48 +01:00
parent ed96363d56
commit a6bbaa08bf

View File

@ -30,29 +30,11 @@ winrt|msvc {
error("Cannot determine DirectX SDK location. Please set DXSDK_DIR environment variable.")
}
DXINC_DIR = $${DX_DIR}Include
contains(QT_ARCH, x86_64) {
DXLIB_DIR = $${DX_DIR}Lib\\x64
} else {
DXLIB_DIR = $${DX_DIR}Lib\\x86
}
equals(QMAKE_TARGET.arch, x86_64) {
FXC = \"$${DX_DIR}Utilities\\bin\\x64\\fxc.exe\"
} else {
FXC = \"$${DX_DIR}Utilities\\bin\\x86\\fxc.exe\"
}
msvc {
# Unfortunately MinGW cannot use the DirectX headers from the DX SDK because d3d11shader.h uses
# buffer annotation macros (eg: __out, __in) which are not defined in the MinGW copy of
# specstrings_strict.h
INCLUDEPATH += $$DXINC_DIR
# Similarly we want the MinGW linker to use the import libraries shipped with the compiler
# instead of those from the SDK which cause a crash on startup.
LIBS_PRIVATE += -L$$DXLIB_DIR
}
}
static: DEFINES *= LIBGLESV2_EXPORT_H_ ANGLE_EXPORT=