Make haruna compile with qt6/kf6
Changes cmake for kf6 libraries and adds some ifdefs to avoid some warnings and errors with deprecated and removed functions. Adds qt5compat in qt6 builds for QtGraphicalEffects.
Changes cmake for kf6 libraries and adds some ifdefs to avoid some warnings and errors with deprecated and removed functions. Adds qt5compat in qt6 builds for QtGraphicalEffects.