Please ignore if already known: KDevelop v5.0.80-223-g20ab513d78 introduces a number of regressions, possibly related, among which at least - the code parser raises multiple false alarms, apparently due in part to not finding header files that were found before - spurious warnings from the new cmake server feature. For example: unhandled message QJsonObject({"supportedProtocolVersions":[{"isExperimental":true,"major":1,"minor":0}],"type":"hello"}) error!! QJsonObject({"cookie":"","errorMessage":"Failed to activate protocol version: \"CMAKE_HOME_DIRECTORY\" is set but incompatible with configured source directory value.","inReplyTo":"handshake","type":"error"}) kdevelop.projectmanagers.cmake: couldn't load json successfully "purpose" kdevelop.projectmanagers.cmake: couldn't load json successfully "purpose" unhandled message QJsonObject({"supportedProtocolVersions":[{"isExperimental":true,"major":1,"minor":0}],"type":"hello"}) error!! QJsonObject({"cookie":"","errorMessage":"Failed to activate protocol version: \"CMAKE_HOME_DIRECTORY\" is set but incompatible with configured source directory value.","inReplyTo":"handshake","type":"error"}) kdevelop.projectmanagers.cmake: couldn't load json successfully "kf5-kdevelop-5 (MP)" kdevelop.projectmanagers.cmake: couldn't load json successfully "kf5-kdevelop-5 (MP)" kdevelop.projectmanagers.cmake: cmake server socket error: QLocalSocket::ServerNotFoundError "/tmp/kdevelopcmake-.W18688" unhandled message QJsonObject({"supportedProtocolVersions":[{"isExperimental":true,"major":1,"minor":0}],"type":"hello"}) error!! QJsonObject({"cookie":"","errorMessage":"Failed to activate protocol version: \"CMAKE_HOME_DIRECTORY\" is set but incompatible with configured source directory value.","inReplyTo":"handshake","type":"error"}) kdevelop.projectmanagers.cmake: couldn't load json successfully "kf5-kdevplatform-5 (MP)" kdevelop.projectmanagers.cmake: couldn't load json successfully "kf5-kdevplatform-5 (MP)" Reusing existing ksycoca Recreating ksycoca file ("/home/bertin/.cache/ksycoca5_en-GB_mAClIZ0r_bjiwdrSoxoVtRb9pr8=", version 303) Still in the time dict (i.e. deleted files) ("apps") Saving QWidget::insertAction: Attempt to insert null action QWidget::insertAction: Attempt to insert null action QWidget::insertAction: Attempt to insert null action unhandled message QJsonObject({"supportedProtocolVersions":[{"isExperimental":true,"major":1,"minor":0}],"type":"hello"}) error!! QJsonObject({"cookie":"","errorMessage":"Failed to activate protocol version: \"CMAKE_HOME_DIRECTORY\" is set but incompatible with configured source directory value.","inReplyTo":"handshake","type":"error"}) kdevelop.projectmanagers.cmake: couldn't load json successfully "kf5-kdevelop-5 (MP)" kdevelop.projectmanagers.cmake: couldn't load json successfully "kf5-kdevelop-5 (MP)" QWidget::insertAction: Attempt to insert null action qrc:/JobDialog.qml:67: TypeError: Cannot read property 'Layout' of null qrc:/JobDialog.qml:66: TypeError: Cannot read property 'Layout' of null Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, "urls") QWidget::insertAction: Attempt to insert null action QWidget::insertAction: Attempt to insert null action kdevplatform.plugins.git: couldn't find the git root for QUrl("file:///opt/local/portia-site-ports") kdevelop.projectmanagers.cmake: cmake server error: QProcess::ProcessError(Crashed) "/tmp/kdevelopcmake-.f18688" "" "" kdevelop.projectmanagers.cmake: cmake server error: QProcess::ProcessError(Crashed) "/tmp/kdevelopcmake-.W18688" "" "" kdevelop.projectmanagers.cmake: cmake server error: QProcess::ProcessError(Crashed) "/tmp/kdevelopcmake-.J18688" "" "" kdevelop.projectmanagers.cmake: cmake server error: QProcess::ProcessError(Crashed) "/tmp/kdevelopcmake-.q18688" "" "" register count: 0, destroy count 0: I have qtlogging.ini set up to show me all qCWarning output (and more severe) but I wouldn't expect to see warnings about cmake server failures if I didn't intend to use such a server and thus never set one up.
@Aleix: Is this fixed? Was this a problem with those dodgy CMake versions? @RJVB: Still reproducible?
Can't tell yet, I'll have to get back to this once I've got a version from the 5.2 branch installed.
> - the code parser raises multiple false alarms, apparently due in part to not finding header files that were found before Very much still the case but mostly with the KDevelop source tree itself. It's almost impossible to work on KDevelop code using a build from the 5.2 branch, at least if you want to be able to rely on the parser (and not distracted by it). The issue seems worse when the project is imported using cmake server mode but I can't quantify how. > - spurious warnings from the new cmake server feature. The useless warnings about unhandled progress messages have been suppressed, and I just turn off the others that annoy me so this issue is no longer. So no, I wouldn't give this a resolved status...