summaryrefslogtreecommitdiffstats
path: root/tools/configure/configureapp.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2012-01-19 10:29:41 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-19 16:41:44 +0100
commit253c801c56bbe9fb221ee20e5b4df2368c90b365 (patch)
tree514cefdd1d8f3f1a08b7eeb02206c3591c97cb15 /tools/configure/configureapp.cpp
parent8bbf1a46a56ce0f0047e24a57add63d503dd7457 (diff)
Remove QDir::convertSeparators()
This method has been deprecated since Qt 4.2. QDir::toNativeSeparators() replaces it since then. Change-Id: I49e6e1bfd50f26aa30134e599ee82067709549a7 Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Diffstat (limited to 'tools/configure/configureapp.cpp')
-rw-r--r--tools/configure/configureapp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
index 56b08d4b37..7a612cf5a7 100644
--- a/tools/configure/configureapp.cpp
+++ b/tools/configure/configureapp.cpp
@@ -3349,8 +3349,8 @@ void Configure::buildQmake()
if (out.open(QFile::WriteOnly | QFile::Text)) {
QTextStream stream(&out);
stream << "#AutoGenerated by configure.exe" << endl
- << "BUILD_PATH = " << QDir::convertSeparators(buildPath) << endl
- << "SOURCE_PATH = " << QDir::convertSeparators(sourcePath) << endl;
+ << "BUILD_PATH = " << QDir::toNativeSeparators(buildPath) << endl
+ << "SOURCE_PATH = " << QDir::toNativeSeparators(sourcePath) << endl;
stream << "QMAKESPEC = " << dictionary["QMAKESPEC"] << endl
<< "QT_VERSION = " << dictionary["VERSION"] << endl;