forked from qt-creator/qt-creator
CMakePM: Fix build
Avoid ambigous conversion, instead explicitly convert. Change-Id: I1b62a8eb94cc2c353b33ec1a29a28385fdb92782 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -302,7 +302,8 @@ bool CMakeBuildSystem::addFiles(Node *context, const FilePaths &filePaths, FileP
|
|||||||
targetCMakeFile.fileName().toStdString(),
|
targetCMakeFile.fileName().toStdString(),
|
||||||
errorString)) {
|
errorString)) {
|
||||||
qCCritical(cmakeBuildSystemLog).noquote()
|
qCCritical(cmakeBuildSystemLog).noquote()
|
||||||
<< targetCMakeFile.path() << "failed to parse! Error:" << errorString;
|
<< targetCMakeFile.path() << "failed to parse! Error:"
|
||||||
|
<< QString::fromStdString(errorString);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user