diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-07-12 21:46:53 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-24 12:45:02 +0200 |
commit | e5b203dbc7da249e89cc800a7b6a41af8b913ecc (patch) | |
tree | 6232e80c69c0bc10fd9ac54c6c791604b4ea6372 /qmake/generators/makefile.cpp | |
parent | c1056c80fbeadee4b910df00998c837d3c2b44a1 (diff) |
dispose of MSVCPROJ_LIBS
this way QMAKE_LIBS{,_PRIVATE} can be treated the same as in all other
generators, which allows us to:
- make the windows generators' findLibraries() be more like the unix
version
- dispose of QMAKE_INTERNAL_PRL_LIBS handling while reading prl files
(because the output always goes to QMAKE_LIBS)
- as a side effect, QMAKE_LIBS_PRIVATE are not subjected to prl file
resolution any more, which is again consistent with unix - the
correctness of that needs to be assessed separately.
Change-Id: Ie9bc04d117eff6a7cde846677f98acf3c64aa6ee
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'qmake/generators/makefile.cpp')
-rw-r--r-- | qmake/generators/makefile.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp index c961528a5c..5a53e9227e 100644 --- a/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp @@ -944,10 +944,7 @@ void MakefileGenerator::processPrlVariable(const QString &var, const QStringList &l) { if(var == "QMAKE_PRL_LIBS") { - QString where = "QMAKE_LIBS"; - if(!project->isEmpty("QMAKE_INTERNAL_PRL_LIBS")) - where = project->first("QMAKE_INTERNAL_PRL_LIBS"); - QStringList &out = project->values(where); + QStringList &out = project->values("QMAKE_LIBS"); for(QStringList::ConstIterator it = l.begin(); it != l.end(); ++it) { if(out.indexOf((*it)) == -1) out.append((*it)); @@ -969,10 +966,7 @@ MakefileGenerator::processPrlFiles() for(bool ret = false; true; ret = false) { //read in any prl files included.. QStringList l_out; - QString where = "QMAKE_LIBS"; - if(!project->isEmpty("QMAKE_INTERNAL_PRL_LIBS")) - where = project->first("QMAKE_INTERNAL_PRL_LIBS"); - QStringList &l = project->values(where); + QStringList &l = project->values("QMAKE_LIBS"); for(QStringList::Iterator it = l.begin(); it != l.end(); ++it) { QString file = (*it); if(!processed.contains(file) && processPrlFile(file)) { |