forked from qt-creator/qt-creator
QMake: Use local paths in interfacing ProFileReader
There are some internal hard asserts on that. Change-Id: I93bbdff0c9625d42d5f9da3f12219ad90c478d5d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -857,7 +857,9 @@ QtSupport::ProFileReader *QmakeBuildSystem::createProFileReader(const QmakeProFi
|
||||
|
||||
auto reader = new QtSupport::ProFileReader(m_qmakeGlobals.get(), m_qmakeVfs);
|
||||
|
||||
reader->setOutputDir(buildDir(qmakeProFile->filePath()).toString());
|
||||
// FIXME: Currently intentional.
|
||||
// Core parts of the ProParser hard-assert on non-local items
|
||||
reader->setOutputDir(buildDir(qmakeProFile->filePath()).path());
|
||||
|
||||
return reader;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user