The installed name of share/xdg/menus/applications.menu conflicts with the related file from KDE4 installations. It should be renamed to applications5.menu.
With commit 16e6b2b6 a cmake configuration variable named APPLICATIONS_MENU_NAME has been added to solve this issue.