Okteta in kdesdk-4.7.4 fails to build with enablefinal. The problem is that bytearraychecksumalgorithmfactory.cpp includes something that needs to be included first (according to the comment in the code). But in a final build, a lot of things may be included before that. The problem can be seen without enablefinal by simply adding #include <QtCore/QString> to the beginning of bytearraychecksumalgorithmfactory.cpp. Reproducible: Always
As per KDE team meeting decision, the kdeenablefinal useflag has been removed.