MCPcopy Create free account
hub / github.com/KDE/kdevelop / showConfigureErrorMessage

Method showConfigureErrorMessage

plugins/cmake/cmakemanager.cpp:673–684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

671}
672
673void CMakeManager::showConfigureErrorMessage(const IProject& project, const QString& errorMessage)
674{
675 const QString messageText = i18n(
676 "Failed to configure project '%1' (error message: %2)."
677 " As a result, KDevelop's code understanding will likely be broken.\n"
678 "\n"
679 "To fix this issue, please ensure that the project's CMakeLists.txt files"
680 " are correct, and KDevelop is configured to use the correct CMake version and settings."
681 " Then right-click the project item in the projects tool view and click 'Reload'.",
682 project.name(), errorMessage);
683 showConfigureStatusMessage(project, messageText, Sublime::Message::Error);
684}
685
686void CMakeManager::showConfigureStatusMessage(const IProject& project, const QString& messageText,
687 Sublime::Message::MessageType messageType)

Callers

nothing calls this directly

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected