summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller/qtcreatorpersistentsettings.cpp
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@nokia.com>2011-06-09 15:31:20 +0200
committerTim Jenssen <tim.jenssen@nokia.com>2011-06-09 15:31:20 +0200
commit75a8626124d1b86ded4ffb2a4f7548d3f515bc60 (patch)
treed19e6a25c8cb281185e8e19a32fa30aaecabe97c /installerbuilder/libinstaller/qtcreatorpersistentsettings.cpp
parentd11134bcc6a7890f50ae93fb12fdd3d42a41ab4b (diff)
make sure that we can create the file
Diffstat (limited to 'installerbuilder/libinstaller/qtcreatorpersistentsettings.cpp')
-rw-r--r--installerbuilder/libinstaller/qtcreatorpersistentsettings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/installerbuilder/libinstaller/qtcreatorpersistentsettings.cpp b/installerbuilder/libinstaller/qtcreatorpersistentsettings.cpp
index f4124cd2c..5539515b7 100644
--- a/installerbuilder/libinstaller/qtcreatorpersistentsettings.cpp
+++ b/installerbuilder/libinstaller/qtcreatorpersistentsettings.cpp
@@ -192,5 +192,6 @@ bool QtCreatorPersistentSettings::save()
m_writer.saveValue(QLatin1String(TOOLCHAIN_FILE_VERSION_KEY), 1);
+ QDir::mkpath(QDir(m_fileName).absolutePath());
return m_writer.save(m_fileName, QLatin1String("QtCreatorToolChains"));
}