Hi Marco, I just had a look at the plasma-framework buildsystem, it is quite messy. Which parts of kdelibs do you use in plasma-frameworks ? Better search for those and skip FindKDE4Internal.cmake. Compiler settings etc. you can get from KF5, see e.g. kdelibs/tier1/karchive/CMakeLists.txt. I'm happy to help Alex