From 253c801c56bbe9fb221ee20e5b4df2368c90b365 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 19 Jan 2012 10:29:41 +0100 Subject: Remove QDir::convertSeparators() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This method has been deprecated since Qt 4.2. QDir::toNativeSeparators() replaces it since then. Change-Id: I49e6e1bfd50f26aa30134e599ee82067709549a7 Reviewed-by: Robin Burchell Reviewed-by: João Abecasis --- tools/configure/configureapp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/configure/configureapp.cpp') 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; -- cgit v1.2.3