diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2011-04-19 11:07:34 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2011-04-20 15:21:41 +0200 |
commit | c3e2fd9ed73730b4b55cc69a07c713c50924c506 (patch) | |
tree | 98fe61a572ab348f0a5c45aaee79ed798e3b9469 /src/libs/utils/winutils.h | |
parent | 3f6e418b6845142bfc8c1533df14ade513770945 (diff) | |
download | qt-creator-c3e2fd9ed73730b4b55cc69a07c713c50924c506.tar.gz |
Fix "File name case mismatch" error when debugging QML apps (Win)
Work around QTBUG-17529 by normalizing the capitalization of the
working directory (which we do already for launching apps without
debugging).
Task-number: QTCREATORBUG-4592
Reviewed-by: Friedemann Kleint
Diffstat (limited to 'src/libs/utils/winutils.h')
-rw-r--r-- | src/libs/utils/winutils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/utils/winutils.h b/src/libs/utils/winutils.h index 92ca1f1578..caf9f9476a 100644 --- a/src/libs/utils/winutils.h +++ b/src/libs/utils/winutils.h @@ -59,6 +59,9 @@ QTCREATOR_UTILS_EXPORT QString getShortPathName(const QString &name); // Returns long name QTCREATOR_UTILS_EXPORT QString getLongPathName(const QString &name); +// Returns long name with canonical capitalization. +QTCREATOR_UTILS_EXPORT QString normalizePathName(const QString &name); + QTCREATOR_UTILS_EXPORT unsigned long winQPidToPid(const Q_PID qpid); QTCREATOR_UTILS_EXPORT bool winIs64BitSystem(); |