PSA: Please do not use KDEFrameworkCompilerSettings for non-KF projects

Friedrich W. H. Kossebau kossebau at
Tue Jan 19 15:57:09 GMT 2021


the docs of the module tell us:
"KDEFrameworkCompilerSettings - Set stricter compile and link flags for KDE 
Frameworks modules."

And it has been meant that way. E.g. because extending those settings with 
more strict settings or new features would be done with other KF-specific 
requirements or policies in mind, always matching those of the current version 
(given KF & ECM are released in-sync).
Having to take care of backward-compatibility with non-KF usage and to do 
proper documentation adds additional burden not wanted here.

As convenient it is to not have to write out e.g. all the 
that needs some other solution.

For ECM/KF5 times the train has left, we need to handle those existing abuses. 
But please fix your projects now already by changing back to 
KDECompilerSettings and the manual boilerplate, so in ECM/KF6 times that 
burden is gone.


More information about the kde-core-devel mailing list