summaryrefslogtreecommitdiffstats
path: root/qmake/generators
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-08-18 09:43:23 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-08-18 18:25:29 (GMT)
commit76d1c995e5bce542c5aa22e7bbf8a012fd5cb50e (patch)
tree0353c925889549b45f8017987bb8ea9eb7dbe660 /qmake/generators
parent4583ab15437c7744e8f08adafa1baccec238c1fa (diff)
downloadQt-76d1c995e5bce542c5aa22e7bbf8a012fd5cb50e.zip
Qt-76d1c995e5bce542c5aa22e7bbf8a012fd5cb50e.tar.gz
Qt-76d1c995e5bce542c5aa22e7bbf8a012fd5cb50e.tar.bz2
create missing output directories for substituted files
it wasn't the fault of fileFixify() after all ... Reviewed-by: joerg
Diffstat (limited to 'qmake/generators')
-rw-r--r--qmake/generators/makefile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index 851e587..852471d 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -538,6 +538,7 @@ MakefileGenerator::init()
continue;
}
}
+ mkdir(QFileInfo(out).absolutePath());
if(out.open(QFile::WriteOnly)) {
v["QMAKE_INTERNAL_INCLUDED_FILES"].append(subs.at(i));
out.write(contents.toUtf8());