forked from qt-creator/qt-creator
Make sure to generate qmake friendly file names
According to Ossi the only safe characters in a path for qmake are alphanumerical, underscore, dot and dash. Task-number: QTCREATORBUG-10980 Change-Id: Ibacbfeb7f04f1f0524093f1d8fce637ea4ae6fd6 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -97,6 +97,8 @@ public:
|
||||
static FileName resolveSymlinks(const FileName &path);
|
||||
static QString shortNativePath(const FileName &path);
|
||||
static QString fileSystemFriendlyName(const QString &name);
|
||||
static int indexOfQmakeUnfriendly(const QString &name, int startpos = 0);
|
||||
static QString qmakeFriendlyName(const QString &name);
|
||||
static bool makeWritable(const FileName &path);
|
||||
static QString normalizePathName(const QString &name);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user