configure.exe: Remove old code that supported MSVC < 2013
Change-Id: Ib57b52598e2f452985e9fffd14587ce6af57d200 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>bb10
parent
4da2dda2aa
commit
145136ab4b
|
|
@ -21,9 +21,7 @@ CFLAGS_EXTRA = -fms-compatibility-version=19.00.23506 -Wno-microsoft-enum-v
|
|||
!else
|
||||
CXX = cl
|
||||
LINKER = link
|
||||
! if "$(QMAKESPEC)" == "win32-msvc2005"
|
||||
CFLAGS_EXTRA = /Zc:wchar_t-
|
||||
! elseif "$(QMAKESPEC)" == "win32-msvc2008" || "$(QMAKESPEC)" == "win32-msvc2010" || "$(QMAKESPEC)" == "win32-msvc2012" || "$(QMAKESPEC)" == "win32-msvc2013"
|
||||
! if "$(QMAKESPEC)" == "win32-msvc2013"
|
||||
CFLAGS_EXTRA = /MP /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS $(CFLAGS_CRT)
|
||||
! elseif "$(QMAKESPEC)" == "win32-msvc2015" || "$(QMAKESPEC)" == "win32-clang-msvc2015"
|
||||
CFLAGS_EXTRA = /MP /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /Zc:strictStrings /w44456 /w44457 /w44458 /wd4577 $(CFLAGS_CRT)
|
||||
|
|
|
|||
|
|
@ -1985,11 +1985,6 @@ bool Configure::checkAngleAvailability(QString *errorMessage /* = 0 */) const
|
|||
// it is also present in MinGW.
|
||||
const QString directXSdk = Environment::detectDirectXSdk();
|
||||
const Compiler compiler = Environment::compilerFromQMakeSpec(dictionary[QStringLiteral("QMAKESPEC")]);
|
||||
if (compiler < CC_MSVC2012 && directXSdk.isEmpty()) {
|
||||
if (errorMessage)
|
||||
*errorMessage = QStringLiteral("There is no Direct X SDK installed or the environment variable \"DXSDK_DIR\" is not set.");
|
||||
return false;
|
||||
}
|
||||
const QString compilerHeader = QStringLiteral("d3dcompiler.h");
|
||||
if (!findFile(compilerHeader)) {
|
||||
if (errorMessage)
|
||||
|
|
@ -2445,10 +2440,6 @@ bool Configure::verifyConfiguration()
|
|||
<< "Oracle driver, as the current build will most likely fail." << endl;
|
||||
prompt = true;
|
||||
}
|
||||
if (dictionary["QMAKESPEC"].endsWith("win32-msvc2008") || dictionary["QMAKESPEC"].endsWith("win32-msvc2010")) {
|
||||
cout << "ERROR: Qt cannot be compiled with Visual Studio 2008 or 2010." << endl;
|
||||
prompt = true;
|
||||
}
|
||||
if (0 != dictionary["ARM_FPU_TYPE"].size()) {
|
||||
QStringList l= QStringList()
|
||||
<< "softvfp"
|
||||
|
|
|
|||
Loading…
Reference in New Issue