Fix capitalization problems with qmlviewer

qmlviewer is picky about file path capitalization, and will bail out with
'File name case mismatch' if e.g. the working directory is wrongly
capitalized. Prevent this by computing the canonical path of
the qml file + working directory in advance.

Reviewed-by: Alessandro Portale
Task-number: QTCREATORBUG-3417
This commit is contained in:
Kai Koehne
2010-12-21 12:39:14 +01:00
parent 550a85a432
commit e414335f26
2 changed files with 37 additions and 3 deletions

View File

@@ -120,6 +120,8 @@ private:
void ctor();
static bool isValidVersion(Qt4ProjectManager::QtVersion *version);
void setQtVersionId(int id);
static QString canonicalCapsPath(const QString &filePath);
Utils::Environment baseEnvironment() const;
void setUserEnvironmentChanges(const QList<Utils::EnvironmentItem> &diff);