Version: (using KDE 4.1.2) OS: Linux Installed from: SuSE RPMs I call kconfig_compiler like this: kconfig_compiler ./settings_general.kcfg ./settings_general.kcfgc I expect that a valid settings_general.h is generated. However, the generated code is invalid. For example, in line 728, I find: static void setLimitConnectionsToX( QString v ) { if (v < 1) [...] This can't work, limitConnectionsToX is of type ULongLong, but the function is declared with QString as argument. This bug occurs sometimes, maybe in 1 of 4 tries. I don't understand, when it occures and when not. A reset helps sometimes, and sometimes not. Furthermore, when producing bad code, at the same time kconfig_compiler seems to not understand comments in the kcfgc file (things like "Mutators=true ; This is a comment"). I had to remove the comments because for className=settings_general (and MemberVariables=private), the comments where copied to the code just like the class name itself.
Created attachment 28487 [details] settings_general.kcfg
Created attachment 28488 [details] settings_general.kcfgc
Created attachment 28489 [details] settings_general.h
Created attachment 28490 [details] settings_general.cpp
There have been some commits to the compiler in the recent months. Additionally, I ran it using valgrind using your test files, without any problems. If you cannot reproduce it either anymore, please close the bug.
Hm, I don't make a call of kconfig_compiler in the way described in this bug anymore. Now I let CMake do this job. (However, this way I hadn't any problems.) So closing as WORKSFORME.