Remove -fw and -l command line arguments
These arguments were nonsensical, as they would lead to every single Qt module linking to those libraries. This was probably some left-over from old times, when Qt was just a single library. Change-Id: I0343a6df270fd0d2efa5333ba4e457670f5d0910 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
parent
1f3eab5536
commit
6f1ad48a91
@ -240,7 +240,6 @@ Additional options:
|
||||
|
||||
-R <string> .......... Add an explicit runtime library path to the Qt
|
||||
libraries.
|
||||
-l <string> .......... Add an explicit library.
|
||||
|
||||
-no-rpath ............ Do not use the library install path as a runtime
|
||||
library path. On Apple platforms, this implies using
|
||||
@ -387,7 +386,6 @@ QNX options:
|
||||
Apple platform options:
|
||||
|
||||
-Fstring ............ Add an explicit framework path.
|
||||
-fw string .......... Add an explicit framework.
|
||||
|
||||
* -framework .......... Build Qt as a series of frameworks and
|
||||
link tools against those frameworks.
|
||||
|
@ -187,10 +187,8 @@
|
||||
"prefix": {
|
||||
"D": "defines",
|
||||
"F": "fpaths",
|
||||
"fw": "frameworks",
|
||||
"I": "includes",
|
||||
"L": "lpaths",
|
||||
"l": "libs",
|
||||
"R": "rpaths",
|
||||
"W": "wflags"
|
||||
}
|
||||
|
@ -585,12 +585,9 @@ defineTest(qtConfOutput_compilerFlags) {
|
||||
}
|
||||
|
||||
libs = $$join(config.input.lpaths, " -L", "-L")
|
||||
libs += $$join(config.input.libs, " -l", "-l")
|
||||
|
||||
darwin {
|
||||
darwin: \
|
||||
libs += $$join(config.input.fpaths, " -F", "-F")
|
||||
libs += $$join(config.input.frameworks, " -framework ", "-framework ")
|
||||
}
|
||||
|
||||
!isEmpty(libs) {
|
||||
EXTRA_LIBS += $$libs
|
||||
|
@ -904,11 +904,6 @@ void Configure::parseCmdLine()
|
||||
break;
|
||||
}
|
||||
qmakeLibs += QString("-L" + configCmdLine.at(i));
|
||||
} else if (configCmdLine.at(i) == "-l") {
|
||||
++i;
|
||||
if (i == argCount)
|
||||
break;
|
||||
qmakeLibs += QString("-l" + configCmdLine.at(i));
|
||||
} else if (configCmdLine.at(i).startsWith("OPENSSL_LIBS=")) {
|
||||
opensslLibs = configCmdLine.at(i);
|
||||
} else if (configCmdLine.at(i).startsWith("OPENSSL_LIBS_DEBUG=")) {
|
||||
@ -1737,7 +1732,6 @@ bool Configure::displayHelp()
|
||||
desc( "-D <define>", "Add an explicit define to the preprocessor.");
|
||||
desc( "-I <includepath>", "Add an explicit include path.");
|
||||
desc( "-L <librarypath>", "Add an explicit library path.");
|
||||
desc( "-l <libraryname>", "Add an explicit library name, residing in a librarypath.\n");
|
||||
|
||||
desc("PCH", "no", "-no-pch", "Do not use precompiled header support.");
|
||||
desc("PCH", "yes", "-pch", "Use precopmiled header support.\n");
|
||||
|
Loading…
Reference in New Issue
Block a user