SUMMARY Impossible to make changes to build configuration. Changes made do not get written co CMakeCache.txt and ignored in builds. Reading CMakeCache.txt by KDevelop works fine. Changing it by hand wit text editor outside KDevelop allows to make necessary changes to build configuration. KDevelop will read changed file fine. Simply will not save changes to it. No error is reported. STEPS TO REPRODUCE 1. Open any project. Open configuration. 2. In Configure CMake Settings, Select Show Advanced. Show advanced values 3. Make any changes to any options - compilers, flags, etc. 4. Select Apply then OK, or simply OK. OBSERVED RESULT Changes are not saved. No error is reported. CMakeCache.txt is not changed. EXPECTED RESULT CMakeCache.txt should be changed and build configuration updated. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: openSUSE Leap 15.3 (available in About System) KDE Plasma Version: 5.18.6 KDE Frameworks Version: 5.76.0 Qt Version: 5.12.7 ADDITIONAL INFORMATION OpenSuse installer did not originally include the indent package and KDevelop messages indicated that it was missing when configuration changes were attempted. I have installed the indent package. The messages disappeared but the problem with not saved configurations remained. KDevelop logs following messages when started from console. None of them during changes of build configuration: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) kdevplatform.shell: Can't load plugin "kdevghprovider" some of its required dependencies could not be fulfilled: "org.kdevelop.IBasicVersionControl@kdevgit" kf.kio.core: We got some errors while running testparm "Weak crypto is allowed" qrc:/qml/Develop.qml:139:21: QML Heading: Binding loop detected for property "font.pointSize" qrc:/qml/area_code.qml:87:9: QML Heading: Binding loop detected for property "font.pointSize" qrc:/qml/area_code.qml:63:9: QML Heading: Binding loop detected for property "font.pointSize" kdevelop.plugins.welcomepage: "Last fetch of news feed was on Mon Jun 7 07:44:11 2021 GMT+0200" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objchdr" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objchdr" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objchdr" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objchdr" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objchdr" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objchdr" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objchdr" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objchdr" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objchdr" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objchdr" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objchdr" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevastyle" supports unknown mimetype entry "text/x-objchdr" kdevplatform.shell: formatter plugin "kdevcustomscript" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevcustomscript" supports unknown mimetype entry "text/x-objchdr" kdevplatform.shell: formatter plugin "kdevcustomscript" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevcustomscript" supports unknown mimetype entry "text/x-objchdr" kdevplatform.shell: formatter plugin "kdevcustomscript" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevcustomscript" supports unknown mimetype entry "text/x-objchdr" kdevplatform.shell: formatter plugin "kdevcustomscript" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevcustomscript" supports unknown mimetype entry "text/x-objchdr" kdevplatform.shell: formatter plugin "kdevcustomscript" supports unknown mimetype entry "text/x-objc++src" kdevplatform.shell: formatter plugin "kdevcustomscript" supports unknown mimetype entry "text/x-objchdr"
This bug is a more general version of Bug 431194.
(In reply to Igor Kushnir from comment #1) > This bug is a more general version of Bug 431194. Thanks. Sure looks like it.
A possibly relevant merge request was started @ https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/253
Git commit 52409f95531a2c52c19afcf5461022b5ff93bf43 by Igor Kushnir. Committed on 06/09/2021 at 07:51. Pushed by igorkushnir into branch '5.6'. Revert "Run configure once to apply cmake preferences for CMake file api usage" This reverts commit 4887d28ec73db039b63a2609b92600e90721654a. This commit prevented KDevelop from storing CMake Settings changes. Related: bug 431194 FIXED-IN: 5.6.3 M +0 -8 plugins/cmake/settings/cmakepreferences.cpp https://invent.kde.org/kdevelop/kdevelop/commit/52409f95531a2c52c19afcf5461022b5ff93bf43