diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-04-06 17:06:28 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-04-07 10:04:23 +0200 |
commit | 730b936b53633891e2b8c505a3ff4c93209e7ae8 (patch) | |
tree | 017f0d6f0ece35d2598261ea7763646fe2d2cbd9 /qmake/generators | |
parent | b9d6ecc1dbe5791fec6fb06de3be06186b485420 (diff) | |
download | qt4-tools-730b936b53633891e2b8c505a3ff4c93209e7ae8.tar.gz |
fix QMAKE_VAR_FIRST_ expansion in compiler flags
doesn't seem to be a terribly popular feature, given that nobody noticed
this yet ...
Diffstat (limited to 'qmake/generators')
-rw-r--r-- | qmake/generators/makefile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp index 3e5452e5e7..67e5bfb124 100644 --- a/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp @@ -1492,7 +1492,7 @@ MakefileGenerator::replaceExtraCompilerVariables(const QString &orig_var, const val += project->values(varname); } if(val.isEmpty() && var.startsWith(QLatin1String("QMAKE_VAR_FIRST_"))) { - const QString varname = var.mid(12); + const QString varname = var.mid(16); val += project->first(varname); } |