diff --git a/projectmanagers/cmake/cmakecodecompletionmodel.cpp b/projectmanagers/cmake/cmakecodecompletionmodel.cpp --- a/projectmanagers/cmake/cmakecodecompletionmodel.cpp +++ b/projectmanagers/cmake/cmakecodecompletionmodel.cpp @@ -59,7 +59,7 @@ QString escapePath(QString path) { - static const QChar toBeEscaped[] = {'(', ')'}; + static const QChar toBeEscaped[] = {'"', '(', ')', '#', '$', '^'}; for(const QChar &ch : toBeEscaped) { path.replace(ch, "\\" + ch);