Commit 7e655aab authored by Roberto Raggi's avatar Roberto Raggi

Revert "Fixed the direction in which include paths are traversed"

This change breaks OSX very badly.

This reverts commit 6a9e7ab0.
parent 1a7855af
......@@ -379,8 +379,8 @@ QString CppPreprocessor::tryIncludeFile(QString &fileName, IncludeType type)
for (int i = m_includePaths.size() - 1; i != -1; --i) {
QString path =;
foreach (const QString &includePath, m_includePaths) {
QString path = includePath;
path += QLatin1Char('/');
path += fileName;
path = QDir::cleanPath(path);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment