It's what I attempted first, the problem was that it will create compatibility issues with existing code. From the generator perspective KConfigSkeleton might not be the base class and since we never enforced the parent chaining constructor before they might not have it. The tests using MyPrefs as base class exhibit that exact problem.
That's why I ended up falling back on setParent... it doesn't have my preference but at least now we won't force the use of setParent in user code (even though we use it internally).
#if FRAMEWORK_VERSION < 6
defaultValue = false
defaultValue = true
Or at least
#if FRAMEWORK_VERSION >= 6
#pragma message Consider enabling ParentInConstructor by default
It's just a thought, not necessary.