diff options
author | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2011-08-24 11:12:43 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@nokia.com> | 2011-08-24 11:17:26 +0200 |
commit | 80fa40aa65be616f127d74a2147b11c4f5316b0c (patch) | |
tree | 0dafee41ea98c8023b80393af780b48e85eb92ff /installerbuilder | |
parent | b8fb9911145cbbda0e080e5036211a8eb8ad144c (diff) |
use qt directory separators
QtC2.3 requires everything to be in Qt format.
Change-Id: I8f85ae446c1311537e0b00eb5400807ef1abd796
Reviewed-on: http://codereview.qt.nokia.com/3474
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Diffstat (limited to 'installerbuilder')
-rw-r--r-- | installerbuilder/libinstaller/registerqtv23operation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/installerbuilder/libinstaller/registerqtv23operation.cpp b/installerbuilder/libinstaller/registerqtv23operation.cpp index 27b5305c9..59395c93a 100644 --- a/installerbuilder/libinstaller/registerqtv23operation.cpp +++ b/installerbuilder/libinstaller/registerqtv23operation.cpp @@ -58,7 +58,7 @@ inline QString absoluteQmakePath(const QString &path) versionQmakePath.append(QLatin1String("/bin/qmake")); #endif } - return QDir::toNativeSeparators(versionQmakePath); + return QDir::fromNativeSeparators(versionQmakePath); } } @@ -115,8 +115,8 @@ bool RegisterQtInCreatorV23Operation::performOperation() const QString &versionTypeIdentifier = args.at(argCounter++); const QString &versionSDKIdentifier = args.at(argCounter++); - const QString &versionSystemRoot = QDir::toNativeSeparators(args.value(argCounter++)); - const QString &versionSbsPath = QDir::toNativeSeparators(args.value(argCounter++)); + const QString &versionSystemRoot = QDir::fromNativeSeparators(args.value(argCounter++)); + const QString &versionSbsPath = QDir::fromNativeSeparators(args.value(argCounter++)); ProjectExplorer::PersistentSettingsReader reader; int qtVersionCount = 0; |