diff --git a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp index 32464ad8f84..6f7461799bd 100644 --- a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp +++ b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp @@ -302,7 +302,8 @@ bool CMakeBuildSystem::addFiles(Node *context, const FilePaths &filePaths, FileP targetCMakeFile.fileName().toStdString(), errorString)) { qCCritical(cmakeBuildSystemLog).noquote() - << targetCMakeFile.path() << "failed to parse! Error:" << errorString; + << targetCMakeFile.path() << "failed to parse! Error:" + << QString::fromStdString(errorString); return false; } }