From 9a1af81ae12f1c642bdbb2aa6eb4ef7989590cdd Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 29 Jun 2016 14:05:27 +0200 Subject: [PATCH] Remove unused command line options -embedded is dead since 187ea846a6, and -arch is obsolete since ba6952b28 (both 2012). Change-Id: Ife107c4f2ea26f62ce675544b7ad5c06630f5631 Reviewed-by: Oswald Buddenhagen --- tools/configure/configureapp.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index 089733ad35..5b62657d2a 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -137,7 +137,6 @@ Configure::Configure(int& argc, char** argv) : verbose(0) dictionary[ "QMAKESPEC_FROM" ] = "env"; } - dictionary[ "EMBEDDED" ] = "no"; dictionary[ "BUILD_QMAKE" ] = "yes"; dictionary[ "QMAKE_INTERNAL" ] = "no"; dictionary[ "WIDGETS" ] = "yes"; @@ -517,13 +516,6 @@ void Configure::parseCmdLine() break; dictionary[ "QMAKESPEC" ] = configCmdLine.at(i); dictionary[ "QMAKESPEC_FROM" ] = "commandline"; - } else if (configCmdLine.at(i) == "-arch") { - ++i; - if (i == argCount) - break; - dictionary["OBSOLETE_ARCH_ARG"] = "yes"; - } else if (configCmdLine.at(i) == "-embedded") { - dictionary[ "EMBEDDED" ] = "yes"; } else if (configCmdLine.at(i) == "-xplatform" || configCmdLine.at(i) == "-device") { ++i; @@ -3693,16 +3685,6 @@ void Configure::displayConfig() sout << " configure -openssl-linked OPENSSL_LIBS=\"-lssleay32 -llibeay32\"" << endl; } } - if (dictionary["OBSOLETE_ARCH_ARG"] == "yes") { - sout << endl - << "NOTE: The -arch option is obsolete." << endl - << endl - << "Qt now detects the target and host architectures based on compiler" << endl - << "output. Qt will be built using " << dictionary["QT_ARCH"] << " for the target architecture" << endl - << "and " << dictionary["QT_HOST_ARCH"] << " for the host architecture (note that these two" << endl - << "will be the same unless you are cross-compiling)." << endl - << endl; - } if (dictionary["RELEASE_TOOLS"] == "yes" && dictionary["BUILD"] != "debug" ) { sout << endl << "NOTE: -optimized-tools is not useful in -release mode." << endl;